Class: LayoutEvent
Hierarchy
↳
LayoutEvent
Implements
Table of contents
Constructors
Properties
- origin
- type
- target
- current
- bubbles
- phase
- isStopDefault
- isStop
- isStopNow
- CHECK_UPDATE
- REQUEST
- START
- BEFORE
- LAYOUT
- AFTER
- AGAIN
- END
- data
- times
Methods
Constructors
constructor
• new LayoutEvent(type
, data?
, times?
): LayoutEvent
Parameters
Name | Type |
---|---|
type | string |
data? | ILayoutBlockData [] |
times? | number |
Returns
Overrides
Defined in
leafer/packages/event/src/LayoutEvent.ts:25
Properties
origin
• Readonly
origin: IObject
Implementation of
Inherited from
Defined in
leafer/packages/event/src/Event.ts:7
type
• Readonly
type: string
Implementation of
Inherited from
Defined in
leafer/packages/event/src/Event.ts:9
target
• Readonly
target: IEventTarget
Implementation of
Inherited from
Defined in
leafer/packages/event/src/Event.ts:10
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
CHECK_UPDATE
▪ Static
CHECK_UPDATE: string
= 'layout.check_update'
Defined in
leafer/packages/event/src/LayoutEvent.ts:8
REQUEST
▪ Static
REQUEST: string
= 'layout.request'
Defined in
leafer/packages/event/src/LayoutEvent.ts:10
START
▪ Static
START: string
= 'layout.start'
Defined in
leafer/packages/event/src/LayoutEvent.ts:12
BEFORE
▪ Static
BEFORE: string
= 'layout.before'
Defined in
leafer/packages/event/src/LayoutEvent.ts:14
LAYOUT
▪ Static
LAYOUT: string
= 'layout'
Defined in
leafer/packages/event/src/LayoutEvent.ts:15
AFTER
▪ Static
AFTER: string
= 'layout.after'
Defined in
leafer/packages/event/src/LayoutEvent.ts:16
AGAIN
▪ Static
AGAIN: string
= 'layout.again'
Defined in
leafer/packages/event/src/LayoutEvent.ts:18
END
▪ Static
END: string
= 'layout.end'
Defined in
leafer/packages/event/src/LayoutEvent.ts:20
data
• Readonly
data: ILayoutBlockData
[]
Implementation of
Defined in
leafer/packages/event/src/LayoutEvent.ts:22
times
• Readonly
times: number
Implementation of
Defined in
leafer/packages/event/src/LayoutEvent.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