,, , ,, , , , image/svg+xml , image/svg+xml , interact.js , image/svg+xml , ,, , ,

@interactjs / inertia/plugin / InertiaState

Class: InertiaState

inertia/plugin.InertiaState

Table of contents

Properties

Methods

Properties

active

• active: boolean = false

Defined in

inertia/plugin.ts:74


allowResume

• allowResume: boolean = false

Defined in

inertia/plugin.ts:77


currentOffset

• currentOffset: Point

Defined in

inertia/plugin.ts:90


interaction

• Readonly interaction: Interaction<keyof ActionMap>

Defined in

inertia/plugin.ts:95


isModified

• isModified: boolean = false

Defined in

inertia/plugin.ts:75


lambda_v0

• Optional lambda_v0: number = 0

Defined in

inertia/plugin.ts:92


modification

• modification: Modification

Defined in

inertia/plugin.ts:79


modifiedOffset

• modifiedOffset: Point

Defined in

inertia/plugin.ts:89


modifierArg

• modifierArg: ModifierArg<{ index?: number ; methods?: { beforeEnd?: (arg: ModifierArg<any>) => void | Point ; set?: (arg: ModifierArg<any>) => any ; start?: (arg: ModifierArg<any>) => void ; stop?: (arg: ModifierArg<any>) => void } ; name?: any ; options: unknown }>

Defined in

inertia/plugin.ts:81


modifierCount

• modifierCount: number = 0

Defined in

inertia/plugin.ts:80


one_ve_v0

• Optional one_ve_v0: number = 0

Defined in

inertia/plugin.ts:93


smoothEnd

• smoothEnd: boolean = false

Defined in

inertia/plugin.ts:76


startCoords

• startCoords: Point

Defined in

inertia/plugin.ts:83


t0

• t0: number = 0

Defined in

inertia/plugin.ts:84


targetOffset

• targetOffset: Point

Defined in

inertia/plugin.ts:88


te

• te: number = 0

Defined in

inertia/plugin.ts:87


timeout

• timeout: number

Defined in

inertia/plugin.ts:94


v0

• v0: number = 0

Defined in

inertia/plugin.ts:85

Methods

end

â–¸ end(): void

Returns

void

Defined in

inertia/plugin.ts:319


inertiaTick

â–¸ inertiaTick(): void

Returns

void

Defined in

inertia/plugin.ts:218


onNextFrame

â–¸ onNextFrame(tickFn): void

Parameters

NameType
tickFn() => void

Returns

void

Defined in

inertia/plugin.ts:210


resume

▸ resume(«destructured»): void

Parameters

NameType
«destructured»PointerArgProps<{ type: "down" }>

Returns

void

Defined in

inertia/plugin.ts:296


smoothEndTick

â–¸ smoothEndTick(): void

Returns

void

Defined in

inertia/plugin.ts:264


start

â–¸ start(event): boolean

Parameters

NameType
eventPointerEventType

Returns

boolean

Defined in

inertia/plugin.ts:101


startInertia

â–¸ startInertia(): void

Returns

void

Defined in

inertia/plugin.ts:164


startSmoothEnd

â–¸ startSmoothEnd(): void

Returns

void

Defined in

inertia/plugin.ts:199


stop

â–¸ stop(): void

Returns

void

Defined in

inertia/plugin.ts:325