Skip to content

Latest commit

 

History

History
364 lines (198 loc) · 8.19 KB

inertia_plugin.InertiaState.md

File metadata and controls

364 lines (198 loc) · 8.19 KB

@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

Name Type
tickFn () => void

Returns

void

Defined in

inertia/plugin.ts:210


resume

resume(«destructured»): void

Parameters

Name Type
«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

Name Type
event PointerEventType

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