NodeList-fx.d.ts
70 lines
| 2.5 KiB
| video/mp2t
|
TypeScriptLexer
|
|
r0 | /// <reference path="dojo.d.ts" /> | ||
| /// <reference path="_base.d.ts" /> | ||||
| /// <reference path="fx.d.ts" /> | ||||
| declare namespace dojo { | ||||
|
|
r8 | interface NodeListAnimationArgs extends Omit<_base.AnimationArguments, "node"> { | ||
| auto?: false; | ||||
| } | ||||
|
|
r0 | |||
|
|
r8 | interface NodeListAutoAnimationArgs extends Omit<_base.AnimationArguments, "node"> { | ||
| auto: true; | ||||
| } | ||||
| interface NodeList<T extends Node> { | ||||
|
|
r0 | |||
|
|
r8 | _anim(obj: any, method: string, args?: NodeListAnimationArgs): _base.Animation; | ||
| _anim(obj: any, method: string, args: NodeListAutoAnimationArgs): this; | ||||
|
|
r0 | |||
|
|
r8 | /** | ||
| * wipe in all elements of this NodeList via `dojo/fx.wipeIn()` | ||||
| */ | ||||
| wipeIn(args?: NodeListAnimationArgs): _base.Animation; | ||||
| wipeIn(args: NodeListAutoAnimationArgs): this; | ||||
|
|
r0 | |||
|
|
r8 | /** | ||
| * wipe out all elements of this NodeList via `dojo/fx.wipeOut()` | ||||
| */ | ||||
| wipeOut(args?: NodeListAnimationArgs): _base.Animation; | ||||
| wipeOut(args: NodeListAutoAnimationArgs): this; | ||||
|
|
r0 | |||
|
|
r8 | /** | ||
| * slide all elements of the node list to the specified place via `dojo/fx.slideTo()` | ||||
| */ | ||||
| slideTo(args?: NodeListAnimationArgs): _base.Animation; | ||||
| slideTo(args: NodeListAutoAnimationArgs): this; | ||||
|
|
r0 | |||
|
|
r8 | /** | ||
| * fade in all elements of this NodeList via `dojo.fadeIn` | ||||
| */ | ||||
| fadeIn(args?: NodeListAnimationArgs): _base.Animation; | ||||
| fadeIn(args: NodeListAutoAnimationArgs): this; | ||||
|
|
r0 | |||
|
|
r8 | /** | ||
| * fade out all elements of this NodeList via `dojo.fadeOut` | ||||
| */ | ||||
| fadeOut(args?: NodeListAnimationArgs): _base.Animation; | ||||
| fadeOut(args: NodeListAutoAnimationArgs): this; | ||||
|
|
r0 | |||
|
|
r8 | /** | ||
| * Animate all elements of this NodeList across the properties specified. | ||||
| * syntax identical to `dojo.animateProperty` | ||||
| */ | ||||
| animateProperty(args?: NodeListAnimationArgs): _base.Animation; | ||||
| animateProperty(args: NodeListAutoAnimationArgs): this; | ||||
| /** | ||||
| * Animate one or more CSS properties for all nodes in this list. | ||||
| * The returned animation object will already be playing when it | ||||
| * is returned. See the docs for `dojo.anim` for full details. | ||||
| */ | ||||
| anim(properties: _base.AnimationArgumentsProperties, duration?: number, easing?: (n?: number) => number, onEnd?: Function, delay?: number): _base.Animation; | ||||
| } | ||||
|
|
r0 | } | ||
| declare module 'dojo/NodeList-fx' { | ||||
|
|
r8 | type NodeList<T extends Node> = dojo.NodeList<T>; | ||
| const NodeList: dojo.NodeListConstructor; | ||||
| export = NodeList; | ||||
|
|
r0 | } | ||
