Skip to content

Class: PropertyEvent

Hierarchy

Implements

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new PropertyEvent(type, target, attrName, oldValue, newValue): PropertyEvent

Parameters

NameType
typestring
targetIEventTarget
attrNamestring
oldValueunknown
newValueunknown

Returns

PropertyEvent

Overrides

Event.constructor

Defined in

leafer/packages/event/src/PropertyEvent.ts:15

Properties

origin

Readonly origin: IObject

Implementation of

IPropertyEvent.origin

Inherited from

Event.origin

Defined in

leafer/packages/event/src/Event.ts:7


type

Readonly type: string

Implementation of

IPropertyEvent.type

Inherited from

Event.type

Defined in

leafer/packages/event/src/Event.ts:9


target

Readonly target: IEventTarget

Implementation of

IPropertyEvent.target

Inherited from

Event.target

Defined in

leafer/packages/event/src/Event.ts:10


current

Readonly current: IEventTarget

Implementation of

IPropertyEvent.current

Inherited from

Event.current

Defined in

leafer/packages/event/src/Event.ts:11


bubbles

Readonly bubbles: boolean = false

Implementation of

IPropertyEvent.bubbles

Inherited from

Event.bubbles

Defined in

leafer/packages/event/src/Event.ts:13


phase

Readonly phase: number

Implementation of

IPropertyEvent.phase

Inherited from

Event.phase

Defined in

leafer/packages/event/src/Event.ts:14


isStopDefault

isStopDefault: boolean

Implementation of

IPropertyEvent.isStopDefault

Inherited from

Event.isStopDefault

Defined in

leafer/packages/event/src/Event.ts:16


isStop

isStop: boolean

Implementation of

IPropertyEvent.isStop

Inherited from

Event.isStop

Defined in

leafer/packages/event/src/Event.ts:17


isStopNow

isStopNow: boolean

Implementation of

IPropertyEvent.isStopNow

Inherited from

Event.isStopNow

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

IPropertyEvent.attrName

Defined in

leafer/packages/event/src/PropertyEvent.ts:11


oldValue

Readonly oldValue: unknown

Implementation of

IPropertyEvent.oldValue

Defined in

leafer/packages/event/src/PropertyEvent.ts:12


newValue

Readonly newValue: unknown

Implementation of

IPropertyEvent.newValue

Defined in

leafer/packages/event/src/PropertyEvent.ts:13

Methods

stopDefault

stopDefault(): void

Returns

void

Implementation of

IPropertyEvent.stopDefault

Inherited from

Event.stopDefault

Defined in

leafer/packages/event/src/Event.ts:25


stopNow

stopNow(): void

Returns

void

Implementation of

IPropertyEvent.stopNow

Inherited from

Event.stopNow

Defined in

leafer/packages/event/src/Event.ts:30


stop

stop(): void

Returns

void

Implementation of

IPropertyEvent.stop

Inherited from

Event.stop

Defined in

leafer/packages/event/src/Event.ts:36

Released under the MIT License.