The Object update
This is a minor update, I added the possibility to use $.css()
like:
$.css(".testElement", {
"background": "red",
"color": "blue"
});
And, $.var()
like:
<p var="person.name"></p>
<p var="person.address.city"></p>
// Create a var for Display.JS. You don't have to add the $ var, you can change the name.
var $ = new DisplayJS(window);
// Create an object 'person' who's name is 'Kevin', and he lives in New York.
var person = {name: 'Kevin', address: {city:'New-York'}};
// Rendering the DOM
$.var();