Skip to main content

Class: ElementAnimation

Table of contents

Constructors

Methods

Constructors

constructor

new ElementAnimation(name): ElementAnimation

Parameters

NameType
namestring

Returns

ElementAnimation

Defined in

core/addOns/animation.ts:12

Methods

getName

getName(): string

Returns

string

Defined in

core/addOns/animation.ts:16


getInterval

getInterval(): undefined | number

Returns

undefined | number

Defined in

core/addOns/animation.ts:20


getDuration

getDuration(): undefined | number

Returns

undefined | number

Defined in

core/addOns/animation.ts:24


getIntensity

getIntensity(): undefined | number

Returns

undefined | number

Defined in

core/addOns/animation.ts:28


getAnimate

getAnimate(): undefined | "enter" | "exit" | "both"

Returns

undefined | "enter" | "exit" | "both"

Defined in

core/addOns/animation.ts:32


getMode

getMode(): undefined | "in" | "out"

Returns

undefined | "in" | "out"

Defined in

core/addOns/animation.ts:36


getDirection

getDirection(): undefined | "left" | "center" | "right" | "up" | "down"

Returns

undefined | "left" | "center" | "right" | "up" | "down"

Defined in

core/addOns/animation.ts:40


setInterval

setInterval(interval?): ElementAnimation

Parameters

NameType
interval?number

Returns

ElementAnimation

Defined in

core/addOns/animation.ts:44


setDuration

setDuration(duration?): ElementAnimation

Parameters

NameType
duration?number

Returns

ElementAnimation

Defined in

core/addOns/animation.ts:49


setIntensity

setIntensity(intensity?): ElementAnimation

Parameters

NameType
intensity?number

Returns

ElementAnimation

Defined in

core/addOns/animation.ts:54


setAnimate

setAnimate(animate?): ElementAnimation

Parameters

NameType
animate?"enter" | "exit" | "both"

Returns

ElementAnimation

Defined in

core/addOns/animation.ts:59


setMode

setMode(mode?): ElementAnimation

Parameters

NameType
mode?"in" | "out"

Returns

ElementAnimation

Defined in

core/addOns/animation.ts:64


setDirection

setDirection(direction?): ElementAnimation

Parameters

NameType
direction?"left" | "center" | "right" | "up" | "down"

Returns

ElementAnimation

Defined in

core/addOns/animation.ts:69


toJSON

toJSON(): Animation

Returns

Animation

Defined in

core/addOns/animation.ts:74


fromJSON

fromJSON(json): ElementAnimation

Parameters

NameType
jsonAnimation

Returns

ElementAnimation

Defined in

core/addOns/animation.ts:86