linkswr / dragbar Goto Github PK
View Code? Open in Web Editor NEWFlex Drag able bar
Flex Drag able bar
首先考虑封装为多例,还是单例。
如果是多例,该如何调用互不影响。是否要有共同可以互相影响的区域,如何设计可以减少实例化后占得内存。可以看看javascript设计模式里的封装方式。
用单独的一个js 表示 dragbar.js ,并且最好遵循是 CMD 或是 AMD规范的。
写方法的时候写一些关键性注释,如果区分不出关键性,就再判断边界条件和所有的方法名后注释
一些常量直接算出来
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.