Comments (2)
The possible values for playstate are "running" and "paused", which are standard CSS values for that animation property. I haven't really had a need for "pause" yet, but I left it in case developers don't want an animation to start right away. This allows them to control when it starts programmatically. But your suggestions about better documentation are spot on. Thanks Adam!
from alice.
Thanks for explaining. Maybe if there was a master table somewhere that listed all parameters for each method, followed by all eligible values / formats, it might help new developers?
I completely understand that some keywords are standard CSS values, but I would think since AliceJS abstracts the raw CSS from the developers, that developers should be given some assistance in learning what these values are. Otherwise how would they know?
e.g. for comments associated with the methods, should the [type] and [description] keywords be replaced with something more meaningful?
/**
- [zoom description]
- @param {[type]} elems [description]
- @param {[type]} scale [description]
- @param {[type]} shadow [description]
- @param {[type]} move [description]
- @param {[type]} duration [description]
- @param {[type]} timing [description]
- @param {[type]} delay [description]
- @param {[type]} iteration [description]
- @param {[type]} direction [description]
- @param {[type]} playstate [description]
- @return {[type]}
*/
from alice.
Related Issues (20)
- Parameter list should be more flexible with defining elements
- Default easing should be ease-in-out
- parseFloat() does not have a second parameter
- randomness property ignored for slide() HOT 1
- running two animations at once confuses the times HOT 1
- Reorganize directory structure. HOT 1
- Modularize the code in the src folder HOT 3
- Remake the demo page with a responsive design HOT 1
- Build out our test suite. HOT 6
- Embed jWorkflow into Alice.js by default
- Add an "onEnd" handler for animations
- audit plugin API surface and close around what shouldn't be public HOT 1
- To implement AliceJS my image disappears HOT 7
- IE 10 support HOT 2
- Keyframe rules are not deleted
- StyleSheets with Import Issue
- Support multiple axis animations
- Cannot chain cheshire rotate events HOT 7
- Tests' failing on IE 6, 7 and 8 HOT 2
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.
from alice.