Skip to content

Interface: IDragEvent

Hierarchy

Implemented by

Table of contents

Properties

Methods

Properties

origin

Optional origin: IObject

Inherited from

IPointerEvent.origin

Defined in

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


type

Optional type: string

Inherited from

IPointerEvent.type

Defined in

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


target

Optional target: IEventTarget

Inherited from

IPointerEvent.target

Defined in

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


current

Optional current: IEventTarget

Inherited from

IPointerEvent.current

Defined in

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


bubbles

Optional bubbles: boolean

Inherited from

IPointerEvent.bubbles

Defined in

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


phase

Optional phase: number

Inherited from

IPointerEvent.phase

Defined in

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


isStopDefault

Optional isStopDefault: boolean

Inherited from

IPointerEvent.isStopDefault

Defined in

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


isStop

Optional isStop: boolean

Inherited from

IPointerEvent.isStop

Defined in

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


isStopNow

Optional isStopNow: boolean

Inherited from

IPointerEvent.isStopNow

Defined in

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


x

x: number

Inherited from

IPointerEvent.x

Defined in

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


y

y: number

Inherited from

IPointerEvent.y

Defined in

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


altKey

Optional altKey: boolean

Inherited from

IPointerEvent.altKey

Defined in

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


ctrlKey

Optional ctrlKey: boolean

Inherited from

IPointerEvent.ctrlKey

Defined in

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


shiftKey

Optional shiftKey: boolean

Inherited from

IPointerEvent.shiftKey

Defined in

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


metaKey

Optional metaKey: boolean

Inherited from

IPointerEvent.metaKey

Defined in

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


spaceKey

Optional Readonly spaceKey: boolean

Inherited from

IPointerEvent.spaceKey

Defined in

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


left

Optional Readonly left: boolean

Inherited from

IPointerEvent.left

Defined in

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


Optional Readonly right: boolean

Inherited from

IPointerEvent.right

Defined in

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


middle

Optional Readonly middle: boolean

Inherited from

IPointerEvent.middle

Defined in

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


buttons

Optional buttons: number

Inherited from

IPointerEvent.buttons

Defined in

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


path

Optional path: ILeafList

Inherited from

IPointerEvent.path

Defined in

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


throughPath

Optional throughPath: ILeafList

Inherited from

IPointerEvent.throughPath

Defined in

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


width

Optional width: number

Inherited from

IPointerEvent.width

Defined in

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


height

Optional height: number

Inherited from

IPointerEvent.height

Defined in

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


pointerType

Optional pointerType: PointerType

Inherited from

IPointerEvent.pointerType

Defined in

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


multiTouch

Optional multiTouch: boolean

Inherited from

IPointerEvent.multiTouch

Defined in

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


pressure

Optional pressure: number

Inherited from

IPointerEvent.pressure

Defined in

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


tangentialPressure

Optional tangentialPressure: number

Inherited from

IPointerEvent.tangentialPressure

Defined in

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


tiltX

Optional tiltX: number

Inherited from

IPointerEvent.tiltX

Defined in

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


tiltY

Optional tiltY: number

Inherited from

IPointerEvent.tiltY

Defined in

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


twist

Optional twist: number

Inherited from

IPointerEvent.twist

Defined in

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


isCancel

Optional isCancel: boolean

Inherited from

IPointerEvent.isCancel

Defined in

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


moveX

moveX: number

Defined in

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


moveY

moveY: number

Defined in

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


totalX

Optional totalX: number

Defined in

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


totalY

Optional totalY: number

Defined in

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

Methods

stopDefault

stopDefault(): void

Returns

void

Inherited from

IPointerEvent.stopDefault

Defined in

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


stopNow

stopNow(): void

Returns

void

Inherited from

IPointerEvent.stopNow

Defined in

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


stop

stop(): void

Returns

void

Inherited from

IPointerEvent.stop

Defined in

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


getBoxPoint

getBoxPoint(relative?): IPointData

Parameters

NameType
relative?ILeaf

Returns

IPointData

Inherited from

IPointerEvent.getBoxPoint

Defined in

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


getInnerPoint

getInnerPoint(relative?): IPointData

Parameters

NameType
relative?ILeaf

Returns

IPointData

Inherited from

IPointerEvent.getInnerPoint

Defined in

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


getLocalPoint

getLocalPoint(relative?): IPointData

Parameters

NameType
relative?ILeaf

Returns

IPointData

Inherited from

IPointerEvent.getLocalPoint

Defined in

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


getPagePoint

getPagePoint(): IPointData

Returns

IPointData

Inherited from

IPointerEvent.getPagePoint

Defined in

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


getInner

getInner(relative?): IPointData

Parameters

NameType
relative?ILeaf

Returns

IPointData

Inherited from

IPointerEvent.getInner

Defined in

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


getLocal

getLocal(relative?): IPointData

Parameters

NameType
relative?ILeaf

Returns

IPointData

Inherited from

IPointerEvent.getLocal

Defined in

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


getPage

getPage(): IPointData

Returns

IPointData

Inherited from

IPointerEvent.getPage

Defined in

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


getPageMove

getPageMove(total?): IPointData

Parameters

NameType
total?boolean

Returns

IPointData

Defined in

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


getInnerMove

getInnerMove(relative?): IPointData

Parameters

NameType
relative?ILeaf

Returns

IPointData

Defined in

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


getLocalMove

getLocalMove(relative?): IPointData

Parameters

NameType
relative?ILeaf

Returns

IPointData

Defined in

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


getPageTotal

getPageTotal(): IPointData

Returns

IPointData

Defined in

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


getInnerTotal

getInnerTotal(relative?): IPointData

Parameters

NameType
relative?ILeaf

Returns

IPointData

Defined in

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


getLocalTotal

getLocalTotal(relative?): IPointData

Parameters

NameType
relative?ILeaf

Returns

IPointData

Defined in

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


getPageBounds

getPageBounds(): IBoundsData

Returns

IBoundsData

Defined in

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

Released under the MIT License.