custom_framework
v1.0.10
Published
A custom web components build tool by Ian Senne
Downloads
4
Readme
allows building of web components from html and js files
npm i -g custom_framework
Within script tags inside of components you can add an additional init attribute that will cause the script to be executed ONCE with the constructor and state variables exposed. constructor can be modified to extend the prototype of the element. the state variable is also exposed and can be modified.
If the above attribute is not present the variables self, constructor, root, and state are exposed. this script will execute whenever the an instance of the element is created.
can take 1 argument -w to determine if watching will occure. to use run in the project directory (this is the directory that contains the customfw.json file)