Skip to content

Interface: IUIEvent

Hierarchy

Implemented by

Table of contents

Properties

Methods

Properties

origin

Optional origin: IObject

Inherited from

IEvent.origin

Defined in

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


type

Optional type: string

Inherited from

IEvent.type

Defined in

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


target

Optional target: IEventTarget

Inherited from

IEvent.target

Defined in

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


current

Optional current: IEventTarget

Inherited from

IEvent.current

Defined in

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


bubbles

Optional bubbles: boolean

Inherited from

IEvent.bubbles

Defined in

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


phase

Optional phase: number

Inherited from

IEvent.phase

Defined in

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


isStopDefault

Optional isStopDefault: boolean

Inherited from

IEvent.isStopDefault

Defined in

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


isStop

Optional isStop: boolean

Inherited from

IEvent.isStop

Defined in

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


isStopNow

Optional isStopNow: boolean

Inherited from

IEvent.isStopNow

Defined in

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


x

x: number

Defined in

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


y

y: number

Defined in

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


altKey

Optional altKey: boolean

Defined in

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


ctrlKey

Optional ctrlKey: boolean

Defined in

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


shiftKey

Optional shiftKey: boolean

Defined in

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


metaKey

Optional metaKey: boolean

Defined in

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


spaceKey

Optional Readonly spaceKey: boolean

Defined in

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


left

Optional Readonly left: boolean

Defined in

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


Optional Readonly right: boolean

Defined in

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


middle

Optional Readonly middle: boolean

Defined in

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


buttons

Optional buttons: number

Defined in

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


path

Optional path: ILeafList

Defined in

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


throughPath

Optional throughPath: ILeafList

Defined in

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

Methods

stopDefault

stopDefault(): void

Returns

void

Inherited from

IEvent.stopDefault

Defined in

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


stopNow

stopNow(): void

Returns

void

Inherited from

IEvent.stopNow

Defined in

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


stop

stop(): void

Returns

void

Inherited from

IEvent.stop

Defined in

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


getBoxPoint

getBoxPoint(relative?): IPointData

Parameters

NameType
relative?ILeaf

Returns

IPointData

Defined in

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


getInnerPoint

getInnerPoint(relative?): IPointData

Parameters

NameType
relative?ILeaf

Returns

IPointData

Defined in

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


getLocalPoint

getLocalPoint(relative?): IPointData

Parameters

NameType
relative?ILeaf

Returns

IPointData

Defined in

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


getPagePoint

getPagePoint(): IPointData

Returns

IPointData

Defined in

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


getInner

getInner(relative?): IPointData

Parameters

NameType
relative?ILeaf

Returns

IPointData

Defined in

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


getLocal

getLocal(relative?): IPointData

Parameters

NameType
relative?ILeaf

Returns

IPointData

Defined in

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


getPage

getPage(): IPointData

Returns

IPointData

Defined in

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

Released under the MIT License.