Skip to content

Class: EditorEvent

Hierarchy

Implements

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new EditorEvent(type, data?): EditorEvent

Parameters

NameType
typestring
data?IEditorEvent

Returns

EditorEvent

Overrides

Event.constructor

Defined in

in/packages/editor/src/event/EditorEvent.ts:28

Properties

SELECT

Static SELECT: string = 'editor.select'

Defined in

in/packages/editor/src/event/EditorEvent.ts:13


HOVER

Static HOVER: string = 'editor.hover'

Defined in

in/packages/editor/src/event/EditorEvent.ts:14


target

Readonly target: IUI

Implementation of

IEditorEvent.target

Overrides

Event.target

Defined in

in/packages/editor/src/event/EditorEvent.ts:16


editor

Readonly editor: IEditor

Implementation of

IEditorEvent.editor

Defined in

in/packages/editor/src/event/EditorEvent.ts:17


value

Readonly value: IUI | IUI[]

Implementation of

IEditorEvent.value

Defined in

in/packages/editor/src/event/EditorEvent.ts:19


oldValue

Readonly oldValue: IUI | IUI[]

Implementation of

IEditorEvent.oldValue

Defined in

in/packages/editor/src/event/EditorEvent.ts:20


worldOrigin

Readonly worldOrigin: IPointData

Implementation of

IEditorEvent.worldOrigin

Defined in

in/packages/editor/src/event/EditorEvent.ts:25


origin

Readonly origin: IPointData

Implementation of

IEditorEvent.origin

Overrides

Event.origin

Defined in

in/packages/editor/src/event/EditorEvent.ts:26


type

Readonly type: string

Implementation of

IEditorEvent.type

Inherited from

Event.type

Defined in

leafer/packages/event/src/Event.ts:9


current

Readonly current: IEventTarget

Implementation of

IEditorEvent.current

Inherited from

Event.current

Defined in

leafer/packages/event/src/Event.ts:11


bubbles

Readonly bubbles: boolean = false

Implementation of

IEditorEvent.bubbles

Inherited from

Event.bubbles

Defined in

leafer/packages/event/src/Event.ts:13


phase

Readonly phase: number

Implementation of

IEditorEvent.phase

Inherited from

Event.phase

Defined in

leafer/packages/event/src/Event.ts:14


isStopDefault

isStopDefault: boolean

Implementation of

IEditorEvent.isStopDefault

Inherited from

Event.isStopDefault

Defined in

leafer/packages/event/src/Event.ts:16


isStop

isStop: boolean

Implementation of

IEditorEvent.isStop

Inherited from

Event.isStop

Defined in

leafer/packages/event/src/Event.ts:17


isStopNow

isStopNow: boolean

Implementation of

IEditorEvent.isStopNow

Inherited from

Event.isStopNow

Defined in

leafer/packages/event/src/Event.ts:18

Accessors

list

get list(): IUI[]

Returns

IUI[]

Implementation of

IEditorEvent.list

Defined in

in/packages/editor/src/event/EditorEvent.ts:22


oldList

get oldList(): IUI[]

Returns

IUI[]

Implementation of

IEditorEvent.oldList

Defined in

in/packages/editor/src/event/EditorEvent.ts:23

Methods

stopDefault

stopDefault(): void

Returns

void

Implementation of

IEditorEvent.stopDefault

Inherited from

Event.stopDefault

Defined in

leafer/packages/event/src/Event.ts:25


stopNow

stopNow(): void

Returns

void

Implementation of

IEditorEvent.stopNow

Inherited from

Event.stopNow

Defined in

leafer/packages/event/src/Event.ts:30


stop

stop(): void

Returns

void

Implementation of

IEditorEvent.stop

Inherited from

Event.stop

Defined in

leafer/packages/event/src/Event.ts:36

Released under the MIT License.