Miracle.js is a JavaScript package that helps the developer generate some UI components.
npm install miracle.js
- 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 !!!!