A simple JavaScript framework for building ambitious UIs [DEPRECATED]
This update is a huge improvement to the $.repeat() function. This is partly because of the issue #45 .
See the docs for all the changes in this function.
Here is a new feature: $.getProp()
, you'll see everything about it in the docs
Hope you'll like this feature 😊
This is a very very small update that will enhance your experience with $.predict()
This release is now fully written in ES6, display.es6.js
and display.es6.min.js
have been renamed display.js
and display.min.js
. It's a very small release.
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();
As DisplayJS grew, the amount of issue increased. And so, here is my fix for all of them!
Thanks to @Cslove that helped to fix $.s()
This version is a very big update. There is new functions ($.copy()
, $.then()
, $.get()
, ...), but more important, there is now light versions of DisplayJS if you don't need all the math / heavy functions.
I hope you'll love this update 😊.
I fixed $.time_ago()
function and I'm now supporting multiple module exportation:
Thank you for using DisplayJS 😊.
I'm sorry for leaving some bugs in the v1.2.1
.
These bugs that I was supposed to fix are now fixed, and again, I'm sorry 😉