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 ​

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

Properties ​

BEFORE_SELECT ​

â–Ş Static BEFORE_SELECT: string = 'editor.before_select'

Defined in ​

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


SELECT ​

â–Ş Static SELECT: string = 'editor.select'

Defined in ​

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


AFTER_SELECT ​

â–Ş Static AFTER_SELECT: string = 'editor.after_select'

Defined in ​

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


BEFORE_HOVER ​

â–Ş Static BEFORE_HOVER: string = 'editor.before_hover'

Defined in ​

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


HOVER ​

â–Ş Static HOVER: string = 'editor.hover'

Defined in ​

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


target ​

• Readonly target: IUI

Implementation of ​

IEditorEvent.target

Overrides ​

Event.target

Defined in ​

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


editor ​

• Readonly editor: IEditor

Implementation of ​

IEditorEvent.editor

Defined in ​

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


value ​

• Readonly value: IUI | IUI[]

Implementation of ​

IEditorEvent.value

Defined in ​

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


oldValue ​

• Readonly oldValue: IUI | IUI[]

Implementation of ​

IEditorEvent.oldValue

Defined in ​

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


worldOrigin ​

• Readonly worldOrigin: IPointData

Implementation of ​

IEditorEvent.worldOrigin

Defined in ​

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


origin ​

• Readonly origin: IPointData

Implementation of ​

IEditorEvent.origin

Overrides ​

Event.origin

Defined in ​

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


type ​

• Readonly type: string

Implementation of ​

IEditorEvent.type

Inherited from ​

Event.type

Defined in ​

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


current ​

• Readonly current: IEventTarget

Implementation of ​

IEditorEvent.current

Inherited from ​

Event.current

Defined in ​

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


bubbles ​

• Readonly bubbles: boolean = false

Implementation of ​

IEditorEvent.bubbles

Inherited from ​

Event.bubbles

Defined in ​

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


phase ​

• Readonly phase: number

Implementation of ​

IEditorEvent.phase

Inherited from ​

Event.phase

Defined in ​

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


isStopDefault ​

• isStopDefault: boolean

Implementation of ​

IEditorEvent.isStopDefault

Inherited from ​

Event.isStopDefault

Defined in ​

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


isStop ​

• isStop: boolean

Implementation of ​

IEditorEvent.isStop

Inherited from ​

Event.isStop

Defined in ​

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


isStopNow ​

• isStopNow: boolean

Implementation of ​

IEditorEvent.isStopNow

Inherited from ​

Event.isStopNow

Defined in ​

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

Accessors ​

list ​

• get list(): IUI[]

Returns ​

IUI[]

Implementation of ​

IEditorEvent.list

Defined in ​

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


oldList ​

• get oldList(): IUI[]

Returns ​

IUI[]

Implementation of ​

IEditorEvent.oldList

Defined in ​

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

Methods ​

stopDefault ​

â–¸ stopDefault(): void

Returns ​

void

Implementation of ​

IEditorEvent.stopDefault

Inherited from ​

Event.stopDefault

Defined in ​

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


stopNow ​

â–¸ stopNow(): void

Returns ​

void

Implementation of ​

IEditorEvent.stopNow

Inherited from ​

Event.stopNow

Defined in ​

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


stop ​

â–¸ stop(): void

Returns ​

void

Implementation of ​

IEditorEvent.stop

Inherited from ​

Event.stop

Defined in ​

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

Released under the MIT License.