Copy this link: https://brunozhon.github.io/api/DisplayJS/displayjs.min.js
And also, use your favorite stylesheet or bootstrap: https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/bootstrap.min.css
!
Function look | Description |
---|---|
displayjs.bindToElem(elem, index, data) | Used to bind data to elements. |
displayjs.bindToId(id, data) | Used to bind data to elements. |
displayjs.bindToElems(elem, data) | Same as bindToElem, but repeats for each oucurrence. |
displayjs.bindByVar(_var, index, data, isArray) | No description |
Example from a text file here. Download it and reaname to displayjs-example.js
.
The text file will show a great exmaple for newcomers. You can add other imports - just put them at the top (or before you need to use them)!