Interface: IAnimate
Hierarchy
↳
IAnimate
Implemented by
Table of contents
Properties
- innerId
- __captureMap
- __bubbleMap
- syncEventer
- easing
- delay
- duration
- ending
- reverse
- swing
- loop
- loopDelay
- speed
- join
- autoplay
- attrs
- target
- keyframes
- config
- event
- frames
- fromStyle
- toStyle
- endingStyle
- started
- running
- completed
- destroyed
- time
- looped
- realEnding
Methods
Properties
innerId
• Readonly
innerId: number
Inherited from
Defined in
leafer/packages/interface/src/event/IEventer.ts:39
__captureMap
• Optional
__captureMap: IEventListenerMap
Inherited from
Defined in
leafer/packages/interface/src/event/IEventer.ts:40
__bubbleMap
• Optional
__bubbleMap: IEventListenerMap
Inherited from
Defined in
leafer/packages/interface/src/event/IEventer.ts:41
syncEventer
• Optional
syncEventer: IEventer
Inherited from
Defined in
leafer/packages/interface/src/event/IEventer.ts:42
easing
• Optional
easing: IAnimateEasing
Inherited from
Defined in
ui/packages/interface/src/IAnimation.ts:21
delay
• Optional
delay: number
Inherited from
Defined in
ui/packages/interface/src/IAnimation.ts:23
duration
• Optional
duration: number
Inherited from
Defined in
ui/packages/interface/src/IAnimation.ts:24
ending
• Optional
ending: IAnimateEnding
Inherited from
Defined in
ui/packages/interface/src/IAnimation.ts:25
reverse
• Optional
reverse: boolean
Inherited from
Defined in
ui/packages/interface/src/IAnimation.ts:27
swing
• Optional
swing: boolean
Inherited from
Defined in
ui/packages/interface/src/IAnimation.ts:28
loop
• Optional
loop: number
| boolean
Inherited from
Defined in
ui/packages/interface/src/IAnimation.ts:30
loopDelay
• Optional
loopDelay: number
Inherited from
Defined in
ui/packages/interface/src/IAnimation.ts:31
speed
• Optional
speed: number
Inherited from
Defined in
ui/packages/interface/src/IAnimation.ts:33
join
• Optional
join: boolean
Inherited from
Defined in
ui/packages/interface/src/IAnimation.ts:35
autoplay
• Optional
autoplay: boolean
Inherited from
Defined in
ui/packages/interface/src/IAnimation.ts:36
attrs
• Optional
attrs: string
[]
Inherited from
Defined in
ui/packages/interface/src/IAnimation.ts:38
target
• target: IUI
Defined in
ui/packages/interface/src/IAnimation.ts:137
keyframes
• keyframes: IKeyframe
[]
Defined in
ui/packages/interface/src/IAnimation.ts:139
config
• Optional
config: IAnimateOptions
Defined in
ui/packages/interface/src/IAnimation.ts:140
event
• Optional
event: IEventMap
Overrides
Defined in
ui/packages/interface/src/IAnimation.ts:141
frames
• Readonly
frames: IComputedKeyframe
[]
Defined in
ui/packages/interface/src/IAnimation.ts:143
fromStyle
• Readonly
fromStyle: IUIInputData
Defined in
ui/packages/interface/src/IAnimation.ts:145
toStyle
• Readonly
toStyle: IUIInputData
Defined in
ui/packages/interface/src/IAnimation.ts:146
endingStyle
• Readonly
endingStyle: IUIInputData
Defined in
ui/packages/interface/src/IAnimation.ts:147
started
• Readonly
started: boolean
Defined in
ui/packages/interface/src/IAnimation.ts:149
running
• Readonly
running: boolean
Defined in
ui/packages/interface/src/IAnimation.ts:150
completed
• Readonly
completed: boolean
Defined in
ui/packages/interface/src/IAnimation.ts:151
destroyed
• Readonly
destroyed: boolean
Defined in
ui/packages/interface/src/IAnimation.ts:152
time
• Readonly
time: number
Defined in
ui/packages/interface/src/IAnimation.ts:154
looped
• Readonly
looped: number
Defined in
ui/packages/interface/src/IAnimation.ts:155
realEnding
• Readonly
realEnding: IAnimateEnding
Defined in
ui/packages/interface/src/IAnimation.ts:157
Methods
destroyEventer
▸ destroyEventer(): void
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/display/module/ILeafEventer.ts:18
on
▸ on(type
, listener?
, options?
): void
Parameters
Name | Type |
---|---|
type | string | string [] | IEventMap |
listener? | IFunction |
options? | IEventOption |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/event/IEventer.ts:45
off
▸ off(type?
, listener?
, options?
): void
Parameters
Name | Type |
---|---|
type? | string | string [] |
listener? | IFunction |
options? | IEventOption |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/event/IEventer.ts:46
on_
▸ on_(type
, listener
, bind?
, options?
): IEventListenerId
Parameters
Name | Type |
---|---|
type | string | string [] |
listener | IFunction |
bind? | IObject |
options? | IEventOption |
Returns
Inherited from
Defined in
leafer/packages/interface/src/event/IEventer.ts:47
off_
▸ off_(id
): void
Parameters
Name | Type |
---|---|
id | IEventListenerId | IEventListenerId [] |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/event/IEventer.ts:48
once
▸ once(type
, listener
): void
Parameters
Name | Type |
---|---|
type | string | string [] |
listener | IFunction |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/event/IEventer.ts:49
emit
▸ emit(type
, event?
, capture?
): void
Parameters
Name | Type |
---|---|
type | string |
event? | IObject | IEvent |
capture? | boolean |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/event/IEventer.ts:50
emitEvent
▸ emitEvent(event?
, capture?
): void
Parameters
Name | Type |
---|---|
event? | IEvent |
capture? | boolean |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/event/IEventer.ts:51
hasEvent
▸ hasEvent(type
, capture?
): boolean
Parameters
Name | Type |
---|---|
type | string |
capture? | boolean |
Returns
boolean
Inherited from
Defined in
leafer/packages/interface/src/event/IEventer.ts:52
init
▸ init(target
, keyframe
, options?
, isTemp?
): void
Parameters
Name | Type |
---|---|
target | IUI |
keyframe | IUIInputData | IKeyframe [] |
options? | ITransition |
isTemp? | boolean |
Returns
void
Defined in
ui/packages/interface/src/IAnimation.ts:159
play
▸ play(): void
Returns
void
Defined in
ui/packages/interface/src/IAnimation.ts:161
pause
▸ pause(): void
Returns
void
Defined in
ui/packages/interface/src/IAnimation.ts:162
stop
▸ stop(): void
Returns
void
Defined in
ui/packages/interface/src/IAnimation.ts:163
seek
▸ seek(time
): void
Parameters
Name | Type |
---|---|
time | number | IPercentData |
Returns
void
Defined in
ui/packages/interface/src/IAnimation.ts:164
kill
▸ kill(): void
Returns
void
Defined in
ui/packages/interface/src/IAnimation.ts:165
destroy
▸ destroy(complete?
): void
Parameters
Name | Type |
---|---|
complete? | boolean |
Returns
void