Class: LeaferEvent
Hierarchy
↳
LeaferEvent
Implements
Table of contents
Constructors
Properties
- origin
- type
- target
- current
- bubbles
- phase
- isStopDefault
- isStop
- isStopNow
- START
- BEFORE_READY
- READY
- AFTER_READY
- VIEW_READY
- VIEW_COMPLETED
- STOP
- RESTART
- END
Methods
Constructors
constructor
• new LeaferEvent(type
, target?
): LeaferEvent
Parameters
Name | Type |
---|---|
type | string |
target? | IEventTarget |
Returns
Inherited from
Defined in
leafer/packages/event/src/Event.ts:20
Properties
origin
• Readonly
origin: IObject
Inherited from
Defined in
leafer/packages/event/src/Event.ts:7
type
• Readonly
type: string
Inherited from
Defined in
leafer/packages/event/src/Event.ts:9
target
• Readonly
target: IEventTarget
Inherited from
Defined in
leafer/packages/event/src/Event.ts:10
current
• Readonly
current: IEventTarget
Inherited from
Defined in
leafer/packages/event/src/Event.ts:11
bubbles
• Readonly
bubbles: boolean
= false
Inherited from
Defined in
leafer/packages/event/src/Event.ts:13
phase
• Readonly
phase: number
Inherited from
Defined in
leafer/packages/event/src/Event.ts:14
isStopDefault
• isStopDefault: boolean
Inherited from
Defined in
leafer/packages/event/src/Event.ts:16
isStop
• isStop: boolean
Inherited from
Defined in
leafer/packages/event/src/Event.ts:17
isStopNow
• isStopNow: boolean
Inherited from
Defined in
leafer/packages/event/src/Event.ts:18
START
▪ Static
START: string
= 'leafer.start'
Defined in
leafer/packages/event/src/LeaferEvent.ts:8
BEFORE_READY
▪ Static
BEFORE_READY: string
= 'leafer.before_ready'
Defined in
leafer/packages/event/src/LeaferEvent.ts:10
READY
▪ Static
READY: string
= 'leafer.ready'
Defined in
leafer/packages/event/src/LeaferEvent.ts:11
AFTER_READY
▪ Static
AFTER_READY: string
= 'leafer.after_ready'
Defined in
leafer/packages/event/src/LeaferEvent.ts:12
VIEW_READY
▪ Static
VIEW_READY: string
= 'leafer.view_ready'
Defined in
leafer/packages/event/src/LeaferEvent.ts:14
VIEW_COMPLETED
▪ Static
VIEW_COMPLETED: string
= 'leafer.view_completed'
Defined in
leafer/packages/event/src/LeaferEvent.ts:16
STOP
▪ Static
STOP: string
= 'leafer.stop'
Defined in
leafer/packages/event/src/LeaferEvent.ts:18
RESTART
▪ Static
RESTART: string
= 'leafer.restart'
Defined in
leafer/packages/event/src/LeaferEvent.ts:19
END
▪ Static
END: string
= 'leafer.end'
Defined in
leafer/packages/event/src/LeaferEvent.ts:21
Methods
stopDefault
▸ stopDefault(): void
Returns
void
Inherited from
Defined in
leafer/packages/event/src/Event.ts:25
stopNow
▸ stopNow(): void
Returns
void
Inherited from
Defined in
leafer/packages/event/src/Event.ts:30
stop
▸ stop(): void
Returns
void