miracle.js
v3.0.0
Published
JSON To HTML Table And 2D arry
Maintainers
Readme
miracle.js
Miracle.js is a JavaScript package that helps the developer generate some UI components.
To install using npm
npm install miracle.jsWhat Miracle.js has
- getTableFromJson
by passing a json object to the function and get a HTML table back
example:
document.getElementById("ID").innerHTML = getTableFromJson(JOSNObject); - MakeListFromArray
by passing a array object to the function and get a HTML List back
example:
document.getElementById("ID").innerHTML = MakeListFromArray(array); - sortList Sort any list by passing list id to the function example:
sortList(ListID); - sortTable Sort any Html Table by passing Table id to the function example:
sortTable(TableID); More comming soon !!!!
