JSLite - Installation and use
If you have any questions, you are welcome to communicate in these places, and you are welcome to join the JSLite.io organization team for joint development!
Installation
$ npm install jslite $ bower install jslite
Traditional method
- Go to the official website to download JSLite, github download
- Quote JSLite.js in the Head tag of the page
Usage - Usage
$("#box") //⇒ 返回节点数组 //⇒ [<div>…</div>] $("<div></div>") //⇒ 生成div节点 //JSLite(func) 相当于ready JSLite(function($){ console.log("在节点加载完成之后执行") }) //$(func) 相当于ready $(function($){ console.log("在节点加载完成之后执行") })