Class: EditorEvent
Hierarchy
↳
EditorEvent
Implements
Table of contents
Constructors
Properties
- BEFORE_SELECT
- SELECT
- AFTER_SELECT
- BEFORE_HOVER
- HOVER
- target
- editor
- value
- oldValue
- worldOrigin
- origin
- type
- current
- bubbles
- phase
- isStopDefault
- isStop
- isStopNow
Accessors
Methods
Constructors
constructor
• new EditorEvent(type, data?): EditorEvent
Parameters
| Name | Type |
|---|---|
type | string |
data? | IEditorEvent |
Returns
Overrides
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
Overrides
Defined in
src/in/packages/editor/src/event/EditorEvent.ts:20
editor
• Readonly editor: IEditor
Implementation of
Defined in
src/in/packages/editor/src/event/EditorEvent.ts:21
value
Implementation of
Defined in
src/in/packages/editor/src/event/EditorEvent.ts:23
oldValue
• Readonly oldValue: IUI | IUI[]
Implementation of
Defined in
src/in/packages/editor/src/event/EditorEvent.ts:24
worldOrigin
• Readonly worldOrigin: IPointData
Implementation of
Defined in
src/in/packages/editor/src/event/EditorEvent.ts:29
origin
• Readonly origin: IPointData
Implementation of
Overrides
Defined in
src/in/packages/editor/src/event/EditorEvent.ts:30
type
• Readonly type: string
Implementation of
Inherited from
Defined in
src/leafer/packages/event/src/Event.ts:9
current
• Readonly current: IEventTarget
Implementation of
Inherited from
Defined in
src/leafer/packages/event/src/Event.ts:11
bubbles
• Readonly bubbles: boolean = false
Implementation of
Inherited from
Defined in
src/leafer/packages/event/src/Event.ts:13
phase
• Readonly phase: number
Implementation of
Inherited from
Defined in
src/leafer/packages/event/src/Event.ts:14
isStopDefault
• isStopDefault: boolean
Implementation of
Inherited from
Defined in
src/leafer/packages/event/src/Event.ts:16
isStop
• isStop: boolean
Implementation of
Inherited from
Defined in
src/leafer/packages/event/src/Event.ts:17
isStopNow
• isStopNow: boolean
Implementation of
Inherited from
Defined in
src/leafer/packages/event/src/Event.ts:18
Accessors
list
• get list(): IUI[]
Returns
IUI[]
Implementation of
Defined in
src/in/packages/editor/src/event/EditorEvent.ts:26
oldList
• get oldList(): IUI[]
Returns
IUI[]
Implementation of
Defined in
src/in/packages/editor/src/event/EditorEvent.ts:27
Methods
stopDefault
▸ stopDefault(): void
Returns
void
Implementation of
Inherited from
Defined in
src/leafer/packages/event/src/Event.ts:25
stopNow
▸ stopNow(): void
Returns
void
Implementation of
Inherited from
Defined in
src/leafer/packages/event/src/Event.ts:30
stop
▸ stop(): void
Returns
void