NodeListFxTests.ts
7 lines
| 314 B
| video/mp2t
|
TypeScriptLexer
cin
|
r10 | import * as NodeList from "dojo/NodeList-fx"; | |
cin
|
r8 | ||
cin
|
r10 | const nl: dojo.NodeList<Node> = new NodeList(); | |
cin
|
r8 | ||
const anim: dojo._base.Animation = nl.fadeIn(); | |||
const anim2: dojo._base.Animation = nl.fadeIn({duration: 500}); | |||
const nl2: typeof nl = nl.fadeOut({auto: true, onEnd: () => {}}); | |||
const other = nl.fadeOut({auto: false}); |