Skip to content

Interface: IAnimate

Hierarchy

Implemented by

Table of contents

Properties

Methods

Properties

innerId

Readonly innerId: number

Inherited from

IEventer.innerId

Defined in

leafer/packages/interface/src/event/IEventer.ts:39


__captureMap

Optional __captureMap: IEventListenerMap

Inherited from

IEventer.__captureMap

Defined in

leafer/packages/interface/src/event/IEventer.ts:40


__bubbleMap

Optional __bubbleMap: IEventListenerMap

Inherited from

IEventer.__bubbleMap

Defined in

leafer/packages/interface/src/event/IEventer.ts:41


syncEventer

Optional syncEventer: IEventer

Inherited from

IEventer.syncEventer

Defined in

leafer/packages/interface/src/event/IEventer.ts:42


easing

Optional easing: IAnimateEasing

Inherited from

IAnimateOptions.easing

Defined in

ui/packages/interface/src/IAnimation.ts:21


delay

Optional delay: number

Inherited from

IAnimateOptions.delay

Defined in

ui/packages/interface/src/IAnimation.ts:23


duration

Optional duration: number

Inherited from

IAnimateOptions.duration

Defined in

ui/packages/interface/src/IAnimation.ts:24


ending

Optional ending: IAnimateEnding

Inherited from

IAnimateOptions.ending

Defined in

ui/packages/interface/src/IAnimation.ts:25


reverse

Optional reverse: boolean

Inherited from

IAnimateOptions.reverse

Defined in

ui/packages/interface/src/IAnimation.ts:27


swing

Optional swing: boolean

Inherited from

IAnimateOptions.swing

Defined in

ui/packages/interface/src/IAnimation.ts:28


loop

Optional loop: number | boolean

Inherited from

IAnimateOptions.loop

Defined in

ui/packages/interface/src/IAnimation.ts:30


loopDelay

Optional loopDelay: number

Inherited from

IAnimateOptions.loopDelay

Defined in

ui/packages/interface/src/IAnimation.ts:31


speed

Optional speed: number

Inherited from

IAnimateOptions.speed

Defined in

ui/packages/interface/src/IAnimation.ts:33


join

Optional join: boolean

Inherited from

IAnimateOptions.join

Defined in

ui/packages/interface/src/IAnimation.ts:35


autoplay

Optional autoplay: boolean

Inherited from

IAnimateOptions.autoplay

Defined in

ui/packages/interface/src/IAnimation.ts:36


attrs

Optional attrs: string[]

Inherited from

IAnimateOptions.attrs

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

IEventer.event

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

IEventer.destroyEventer

Defined in

leafer/packages/interface/src/display/module/ILeafEventer.ts:18


on

on(type, listener?, options?): void

Parameters

NameType
typestring | string[] | IEventMap
listener?IFunction
options?IEventOption

Returns

void

Inherited from

IEventer.on

Defined in

leafer/packages/interface/src/event/IEventer.ts:45


off

off(type?, listener?, options?): void

Parameters

NameType
type?string | string[]
listener?IFunction
options?IEventOption

Returns

void

Inherited from

IEventer.off

Defined in

leafer/packages/interface/src/event/IEventer.ts:46


on_

on_(type, listener, bind?, options?): IEventListenerId

Parameters

NameType
typestring | string[]
listenerIFunction
bind?IObject
options?IEventOption

Returns

IEventListenerId

Inherited from

IEventer.on_

Defined in

leafer/packages/interface/src/event/IEventer.ts:47


off_

off_(id): void

Parameters

NameType
idIEventListenerId | IEventListenerId[]

Returns

void

Inherited from

IEventer.off_

Defined in

leafer/packages/interface/src/event/IEventer.ts:48


once

once(type, listener): void

Parameters

NameType
typestring | string[]
listenerIFunction

Returns

void

Inherited from

IEventer.once

Defined in

leafer/packages/interface/src/event/IEventer.ts:49


emit

emit(type, event?, capture?): void

Parameters

NameType
typestring
event?IObject | IEvent
capture?boolean

Returns

void

Inherited from

IEventer.emit

Defined in

leafer/packages/interface/src/event/IEventer.ts:50


emitEvent

emitEvent(event?, capture?): void

Parameters

NameType
event?IEvent
capture?boolean

Returns

void

Inherited from

IEventer.emitEvent

Defined in

leafer/packages/interface/src/event/IEventer.ts:51


hasEvent

hasEvent(type, capture?): boolean

Parameters

NameType
typestring
capture?boolean

Returns

boolean

Inherited from

IEventer.hasEvent

Defined in

leafer/packages/interface/src/event/IEventer.ts:52


init

init(target, keyframe, options?, isTemp?): void

Parameters

NameType
targetIUI
keyframeIUIInputData | 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

NameType
timenumber | 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

NameType
complete?boolean

Returns

void

Overrides

IEventer.destroy

Defined in

ui/packages/interface/src/IAnimation.ts:167

Released under the MIT License.