Skip to content

Interface: ITransitionModule

Table of contents

Properties

Methods

Properties

list

list: ITransitionMap

Defined in

ui/packages/interface/src/module/ITransition.ts:5

Methods

register

register(attrName, fn): void

Parameters

NameType
attrNamestring
fnITransitionFunction

Returns

void

Defined in

ui/packages/interface/src/module/ITransition.ts:6


get

get(attrName): ITransitionFunction

Parameters

NameType
attrNamestring

Returns

ITransitionFunction

Defined in

ui/packages/interface/src/module/ITransition.ts:7


value

value(from, to, t, target?): any

Parameters

NameType
fromany
toany
tnumber
target?IObject

Returns

any

Defined in

ui/packages/interface/src/module/ITransition.ts:9


number

number(from, to, t, roundValue?): number

Parameters

NameType
fromnumber
tonumber
tnumber
roundValue?number

Returns

number

Defined in

ui/packages/interface/src/module/ITransition.ts:10


color

color(from, to, t): string

Parameters

NameType
fromIColor
toIColor
tnumber

Returns

string

Defined in

ui/packages/interface/src/module/ITransition.ts:11


gradient

gradient(from, to, t, target): IGradientPaint

Parameters

NameType
fromIGradientPaint
toIGradientPaint
tnumber
targetIObject

Returns

IGradientPaint

Defined in

ui/packages/interface/src/module/ITransition.ts:12

Released under the MIT License.