Class: PropertyEvent
Hierarchy
↳
PropertyEvent
Implements
Table of contents
Constructors
Properties
- origin
- type
- target
- current
- bubbles
- phase
- isStopDefault
- isStop
- isStopNow
- CHANGE
- LEAFER_CHANGE
- attrName
- oldValue
- newValue
Methods
Constructors
constructor
• new PropertyEvent(type
, target
, attrName
, oldValue
, newValue
): PropertyEvent
Parameters
Name | Type |
---|---|
type | string |
target | IEventTarget |
attrName | string |
oldValue | unknown |
newValue | unknown |
Returns
Overrides
Defined in
leafer/packages/event/src/PropertyEvent.ts:15
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
CHANGE
▪ Static
CHANGE: string
= 'property.change'
Defined in
leafer/packages/event/src/PropertyEvent.ts:8
LEAFER_CHANGE
▪ Static
LEAFER_CHANGE: string
= 'property.leafer_change'
Defined in
leafer/packages/event/src/PropertyEvent.ts:9
attrName
• Readonly
attrName: string
Implementation of
Defined in
leafer/packages/event/src/PropertyEvent.ts:11
oldValue
• Readonly
oldValue: unknown
Implementation of
Defined in
leafer/packages/event/src/PropertyEvent.ts:12
newValue
• Readonly
newValue: unknown
Implementation of
Defined in
leafer/packages/event/src/PropertyEvent.ts:13
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