Unprecedented kinetic engine
Kinetica
Unprecedented kinetic engine.
Table of Contents
Features
- Designed with performance in mind
- Lightweight - 10.4 KB
- Mobile friendly - supports mouse events, touch events and pointer events
Dependencies
Install
Download dev or prod version and put it in your html
<script src="vendor/kinetic.min.js"></script>
Usage
-- -------------------- ---- ------- -- ----- --- ------ ---- ------------------------------ ---- --- - ----------------- --------------------------- -- -- ------ ------- -------- --- ------- - --- --------- --- -------------- ------- ------ -- -- ----- -- ---------------------- -- --------- ------ --- ------- - ------------------------------------ --- -------- - --- --------- -- -------- -------- ---------- - ----------------------- - ----------------------------- - -------- ------------- ---------- - ------ ---------- -- - -- ---------- - ----- - ------------------ - -------- ------- ---------- - -- ---------------- --- -- - --- ------- - ----------- --- ---- - --------------------------- -- --------------------- - -------------- -------- - ---- - - - -- --------- -- ------- --------------------------
Examples
API
Development
Command | Description |
---|---|
npm run check |
Check standard code style by snazzy |
npm run build |
Wrap source code in UMD by rollup |
npm run min |
Minify code by UglifyJS |
HomePage
https://github.com/broadsw0rd/kinetica
Repository
git+https://github.com/broadsw0rd/kinetica.git
来源:JavaScript中文网 ,转载请注明来源 https://www.javascriptcn.com/post/6005606781e8991b448de8a5