BetaJS-Dynamics is a dynamic DOM templating engine.
npm install betajs-dynamicsBetaJS-Dynamics is a dynamic DOM templating engine.
You can use the library in the browser and compile it as well.
#### Browser
``javascript`
#### Compile
`javascript`
git clone https://github.com/betajs/betajs-dynamics.git
npm install
grunt
The Javascript Controller:
`js
dynamic = new BetaJS.Dynamics.Dynamic({
element: document.querySelector("some_element"),
initial : {
attrs : {
some_attribute : "This is some Text",
some_boolean : true
}
}
});
`
The HTML Element:
`html
`
Will evaluate to
`html
``
- Victor Lingenthal
- Oliver Friedmann
Apache-2.0
- Ziggeo
- Browserstack