Class: WatchEvent
Hierarchy
↳
WatchEvent
Implements
Table of contents
Properties
Methods
Constructors
Properties
type
Readonly
type: string
Implementation of
Inherited from
Defined in
leafer/packages/event/event/src/Event.ts:6
target
Readonly
target: IEventTarget
Implementation of
Inherited from
Defined in
leafer/packages/event/event/src/Event.ts:7
current
Readonly
current: IEventTarget
Implementation of
Inherited from
Defined in
leafer/packages/event/event/src/Event.ts:8
bubbles
Readonly
bubbles: boolean
= false
Implementation of
Inherited from
Defined in
leafer/packages/event/event/src/Event.ts:10
phase
Readonly
phase: number
Implementation of
Inherited from
Defined in
leafer/packages/event/event/src/Event.ts:11
isStopDefault
isStopDefault: boolean
Implementation of
Inherited from
Defined in
leafer/packages/event/event/src/Event.ts:13
isStop
isStop: boolean
Implementation of
Inherited from
Defined in
leafer/packages/event/event/src/Event.ts:14
isStopNow
isStopNow: boolean
Implementation of
Inherited from
Defined in
leafer/packages/event/event/src/Event.ts:15
REQUEST
Static
REQUEST: string
= 'watch.request'
Defined in
leafer/packages/event/event/src/WatchEvent.ts:8
DATA
Static
DATA: string
= 'watch.data'
Defined in
leafer/packages/event/event/src/WatchEvent.ts:9
data
Readonly
data: IWatchEventData
Implementation of
Defined in
leafer/packages/event/event/src/WatchEvent.ts:11
Methods
stopDefault
stopDefault(): void
Returns
void
Implementation of
Inherited from
Defined in
leafer/packages/event/event/src/Event.ts:22
stopNow
stopNow(): void
Returns
void
Implementation of
Inherited from
Defined in
leafer/packages/event/event/src/Event.ts:26
stop
stop(): void
Returns
void
Implementation of
Inherited from
Defined in
leafer/packages/event/event/src/Event.ts:31
Constructors
constructor
new WatchEvent(type
, data?
)
Parameters
Name | Type |
---|---|
type | string |
data? | IWatchEventData |