Skip to content

Interface: ISwipeEvent

Hierarchy

Implemented by

Table of contents

Properties

Methods

Properties

origin

Optional origin: IObject

Inherited from

IDragEvent.origin

Defined in

leafer/packages/interface/src/event/IEvent.ts:9


type

Optional type: string

Inherited from

IDragEvent.type

Defined in

leafer/packages/interface/src/event/IEvent.ts:11


target

Optional target: IEventTarget

Inherited from

IDragEvent.target

Defined in

leafer/packages/interface/src/event/IEvent.ts:12


current

Optional current: IEventTarget

Inherited from

IDragEvent.current

Defined in

leafer/packages/interface/src/event/IEvent.ts:13


bubbles

Optional bubbles: boolean

Inherited from

IDragEvent.bubbles

Defined in

leafer/packages/interface/src/event/IEvent.ts:15


phase

Optional phase: number

Inherited from

IDragEvent.phase

Defined in

leafer/packages/interface/src/event/IEvent.ts:16


isStopDefault

Optional isStopDefault: boolean

Inherited from

IDragEvent.isStopDefault

Defined in

leafer/packages/interface/src/event/IEvent.ts:18


isStop

Optional isStop: boolean

Inherited from

IDragEvent.isStop

Defined in

leafer/packages/interface/src/event/IEvent.ts:19


isStopNow

Optional isStopNow: boolean

Inherited from

IDragEvent.isStopNow

Defined in

leafer/packages/interface/src/event/IEvent.ts:20


x

x: number

Inherited from

IDragEvent.x

Defined in

leafer/packages/interface/src/event/IUIEvent.ts:9


y

y: number

Inherited from

IDragEvent.y

Defined in

leafer/packages/interface/src/event/IUIEvent.ts:10


altKey

Optional altKey: boolean

Inherited from

IDragEvent.altKey

Defined in

leafer/packages/interface/src/event/IUIEvent.ts:12


ctrlKey

Optional ctrlKey: boolean

Inherited from

IDragEvent.ctrlKey

Defined in

leafer/packages/interface/src/event/IUIEvent.ts:13


shiftKey

Optional shiftKey: boolean

Inherited from

IDragEvent.shiftKey

Defined in

leafer/packages/interface/src/event/IUIEvent.ts:14


metaKey

Optional metaKey: boolean

Inherited from

IDragEvent.metaKey

Defined in

leafer/packages/interface/src/event/IUIEvent.ts:15


spaceKey

Optional Readonly spaceKey: boolean

Inherited from

IDragEvent.spaceKey

Defined in

leafer/packages/interface/src/event/IUIEvent.ts:16


left

Optional Readonly left: boolean

Inherited from

IDragEvent.left

Defined in

leafer/packages/interface/src/event/IUIEvent.ts:18


Optional Readonly right: boolean

Inherited from

IDragEvent.right

Defined in

leafer/packages/interface/src/event/IUIEvent.ts:19


middle

Optional Readonly middle: boolean

Inherited from

IDragEvent.middle

Defined in

leafer/packages/interface/src/event/IUIEvent.ts:20


buttons

Optional buttons: number

Inherited from

IDragEvent.buttons

Defined in

leafer/packages/interface/src/event/IUIEvent.ts:21


path

Optional path: ILeafList

Inherited from

IDragEvent.path

Defined in

leafer/packages/interface/src/event/IUIEvent.ts:23


throughPath

Optional throughPath: ILeafList

Inherited from

IDragEvent.throughPath

Defined in

leafer/packages/interface/src/event/IUIEvent.ts:24


width

Optional width: number

Inherited from

IDragEvent.width

Defined in

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


height

Optional height: number

Inherited from

IDragEvent.height

Defined in

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


pointerType

Optional pointerType: PointerType

Inherited from

IDragEvent.pointerType

Defined in

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


multiTouch

Optional multiTouch: boolean

Inherited from

IDragEvent.multiTouch

Defined in

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


pressure

Optional pressure: number

Inherited from

IDragEvent.pressure

Defined in

leafer/packages/interface/src/event/IUIEvent.ts:43


tangentialPressure

Optional tangentialPressure: number

Inherited from

IDragEvent.tangentialPressure

Defined in

leafer/packages/interface/src/event/IUIEvent.ts:44


tiltX

Optional tiltX: number

Inherited from

IDragEvent.tiltX

Defined in

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


tiltY

Optional tiltY: number

Inherited from

IDragEvent.tiltY

Defined in

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


twist

Optional twist: number

Inherited from

IDragEvent.twist

Defined in

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


isCancel

Optional isCancel: boolean

Inherited from

IDragEvent.isCancel

Defined in

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


moveX

moveX: number

Inherited from

IDragEvent.moveX

Defined in

leafer/packages/interface/src/event/IUIEvent.ts:53


moveY

moveY: number

Inherited from

IDragEvent.moveY

Defined in

leafer/packages/interface/src/event/IUIEvent.ts:54


totalX

Optional totalX: number

Inherited from

IDragEvent.totalX

Defined in

leafer/packages/interface/src/event/IUIEvent.ts:55


totalY

Optional totalY: number

Inherited from

IDragEvent.totalY

Defined in

leafer/packages/interface/src/event/IUIEvent.ts:56

Methods

stopDefault

stopDefault(): void

Returns

void

Inherited from

IDragEvent.stopDefault

Defined in

leafer/packages/interface/src/event/IEvent.ts:21


stopNow

stopNow(): void

Returns

void

Inherited from

IDragEvent.stopNow

Defined in

leafer/packages/interface/src/event/IEvent.ts:22


stop

stop(): void

Returns

void

Inherited from

IDragEvent.stop

Defined in

leafer/packages/interface/src/event/IEvent.ts:23


getBoxPoint

getBoxPoint(relative?): IPointData

Parameters

NameType
relative?ILeaf

Returns

IPointData

Inherited from

IDragEvent.getBoxPoint

Defined in

leafer/packages/interface/src/event/IUIEvent.ts:26


getInnerPoint

getInnerPoint(relative?): IPointData

Parameters

NameType
relative?ILeaf

Returns

IPointData

Inherited from

IDragEvent.getInnerPoint

Defined in

leafer/packages/interface/src/event/IUIEvent.ts:27


getLocalPoint

getLocalPoint(relative?): IPointData

Parameters

NameType
relative?ILeaf

Returns

IPointData

Inherited from

IDragEvent.getLocalPoint

Defined in

leafer/packages/interface/src/event/IUIEvent.ts:28


getPagePoint

getPagePoint(): IPointData

Returns

IPointData

Inherited from

IDragEvent.getPagePoint

Defined in

leafer/packages/interface/src/event/IUIEvent.ts:29


getInner

getInner(relative?): IPointData

Parameters

NameType
relative?ILeaf

Returns

IPointData

Inherited from

IDragEvent.getInner

Defined in

leafer/packages/interface/src/event/IUIEvent.ts:32


getLocal

getLocal(relative?): IPointData

Parameters

NameType
relative?ILeaf

Returns

IPointData

Inherited from

IDragEvent.getLocal

Defined in

leafer/packages/interface/src/event/IUIEvent.ts:33


getPage

getPage(): IPointData

Returns

IPointData

Inherited from

IDragEvent.getPage

Defined in

leafer/packages/interface/src/event/IUIEvent.ts:34


getPageMove

getPageMove(total?): IPointData

Parameters

NameType
total?boolean

Returns

IPointData

Inherited from

IDragEvent.getPageMove

Defined in

leafer/packages/interface/src/event/IUIEvent.ts:58


getInnerMove

getInnerMove(relative?): IPointData

Parameters

NameType
relative?ILeaf

Returns

IPointData

Inherited from

IDragEvent.getInnerMove

Defined in

leafer/packages/interface/src/event/IUIEvent.ts:59


getLocalMove

getLocalMove(relative?): IPointData

Parameters

NameType
relative?ILeaf

Returns

IPointData

Inherited from

IDragEvent.getLocalMove

Defined in

leafer/packages/interface/src/event/IUIEvent.ts:60


getPageTotal

getPageTotal(): IPointData

Returns

IPointData

Inherited from

IDragEvent.getPageTotal

Defined in

leafer/packages/interface/src/event/IUIEvent.ts:62


getInnerTotal

getInnerTotal(relative?): IPointData

Parameters

NameType
relative?ILeaf

Returns

IPointData

Inherited from

IDragEvent.getInnerTotal

Defined in

leafer/packages/interface/src/event/IUIEvent.ts:63


getLocalTotal

getLocalTotal(relative?): IPointData

Parameters

NameType
relative?ILeaf

Returns

IPointData

Inherited from

IDragEvent.getLocalTotal

Defined in

leafer/packages/interface/src/event/IUIEvent.ts:64


getPageBounds

getPageBounds(): IBoundsData

Returns

IBoundsData

Inherited from

IDragEvent.getPageBounds

Defined in

leafer/packages/interface/src/event/IUIEvent.ts:66

Released under the MIT License.