Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(197)

Side by Side Diff: sky/specs/animation.md

Issue 824773002: Specs: Split apis.md into dom.md, events.md, idl.md, and move the remainder into README.md and modu… (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sky/specs/README.md ('k') | sky/specs/apis.md » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Animation API
2 =============
3
4 ```javascript
5
6 dictionary EasingFunctionSettings {
7 Float duration; // required
8 Callback? completionCallback = null;
9 }
10
11 abstract class EasingFunction {
12 abstract constructor (EasingFunctionSettings settings);
13 abstract Float getFactor(Float time);
14 // calls completionCallback if time >= duration
15 // then returns a number ostensibly in the range 0.0 to 1.0
16 // (but it could in practice go outside this range, e.g. for
17 // animation styles that overreach then come back)
18 }
19
20
21 ```
OLDNEW
« no previous file with comments | « sky/specs/README.md ('k') | sky/specs/apis.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698