/vce

Vanilla Component Essentials

Primary LanguageJavaScriptISC LicenseISC

Vanilla Component Essentials

npm version

A simple component framework for vanilla js

  • extremely lightweight without any external dependencies

    ~2k after gzip
    ~200 LOC

  • sub-component

  • custom event

Roadmap

  • test
  • documentations
  • todomvc

Browser Compatibility

sad to continue considering these things even in 2017

should work in any "real" browser out-of-box

include polyfill for ms browsers should be enough

below features are covered by https://polyfill.io/

  • Promise
  • Symbol
  • Element.prototype.closest
  • Node.prototype.contains

and another few (greetings, dear dear IE)

Why?

QuickStart