fsm's People
Forkers
seven1240 xiaobaolxy hlissnake wellstang jxiaodev ljq086 mfine2 jasonreflector mxiongmiao fhefh2009 houfeng0923 delong2012 skyren guocover zealoussnow benlinhuo salcabar byr-gdp zhaoyangsoft hetz icacls hhh1994fsm's Issues
有没有考虑过吧状态机和CSS的增强一起考虑过呢?
hi,您好,看到你这个项目,比较感兴趣.因为我也曾有过类似的想法.
不过,我不看好javascript的表现方法, 他对状态和行为的描述太灵活和复杂化.
我比较看好这种**和css的语法增强.如果有兴趣,欢迎和我联系:
gtalk: jindw#xidea.org
这不是issue
只是踩踩yhanwen大佬的github
动画导致的问题
由于有动画,当点击过快时,组件会失去响应(假死)。
例: 点击组件,在组件展开的动画过程中,迅速点击页面其他区域。
一种简单的办法是:增加组件标示(动画状态)如:
fold:function(){
var _this = this,
options = _this.options,
slideBox = _this.slideBox;
if(!_this.animating&&_this.isFold)return;
D.removeClass(options,"hover");
S.one(slideBox).slideUp(0.2,function(){
_this.isFold = true;
_this.animating = false;
});
_this.animating = true;
}
另外一种应该 可以把动画也作为一种状态吧。?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.