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