Skip to content

Class: ChildEvent ​

Hierarchy ​

Implements ​

Table of contents ​

Constructors ​

Properties ​

Methods ​

Constructors ​

constructor ​

• new ChildEvent(type, child?, parent?): ChildEvent

Parameters ​

NameType
typestring
child?ILeaf
parent?ILeaf

Returns ​

ChildEvent

Overrides ​

Event.constructor

Defined in ​

src/leafer/packages/event/src/ChildEvent.ts:19

Properties ​

ADD ​

â–Ş Static ADD: string = 'child.add'

Defined in ​

src/leafer/packages/event/src/ChildEvent.ts:8


REMOVE ​

â–Ş Static REMOVE: string = 'child.remove'

Defined in ​

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


CREATED ​

â–Ş Static CREATED: string = 'created'

Defined in ​

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


MOUNTED ​

â–Ş Static MOUNTED: string = 'mounted'

Defined in ​

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


UNMOUNTED ​

â–Ş Static UNMOUNTED: string = 'unmounted'

Defined in ​

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


DESTROY ​

â–Ş Static DESTROY: string = 'destroy'

Defined in ​

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


parent ​

• Optional Readonly parent: ILeaf

Implementation of ​

IChildEvent.parent

Defined in ​

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


child ​

• Optional Readonly child: ILeaf

Implementation of ​

IChildEvent.child

Defined in ​

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


origin ​

• Readonly origin: IObject

Implementation of ​

IChildEvent.origin

Inherited from ​

Event.origin

Defined in ​

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


type ​

• Readonly type: string

Implementation of ​

IChildEvent.type

Inherited from ​

Event.type

Defined in ​

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


target ​

• Readonly target: IEventTarget

Implementation of ​

IChildEvent.target

Inherited from ​

Event.target

Defined in ​

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


current ​

• Readonly current: IEventTarget

Implementation of ​

IChildEvent.current

Inherited from ​

Event.current

Defined in ​

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


bubbles ​

• Readonly bubbles: boolean = false

Implementation of ​

IChildEvent.bubbles

Inherited from ​

Event.bubbles

Defined in ​

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


phase ​

• Readonly phase: number

Implementation of ​

IChildEvent.phase

Inherited from ​

Event.phase

Defined in ​

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


isStopDefault ​

• isStopDefault: boolean

Implementation of ​

IChildEvent.isStopDefault

Inherited from ​

Event.isStopDefault

Defined in ​

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


isStop ​

• isStop: boolean

Implementation of ​

IChildEvent.isStop

Inherited from ​

Event.isStop

Defined in ​

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


isStopNow ​

• isStopNow: boolean

Implementation of ​

IChildEvent.isStopNow

Inherited from ​

Event.isStopNow

Defined in ​

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

Methods ​

stopDefault ​

â–¸ stopDefault(): void

Returns ​

void

Implementation of ​

IChildEvent.stopDefault

Inherited from ​

Event.stopDefault

Defined in ​

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


stopNow ​

â–¸ stopNow(): void

Returns ​

void

Implementation of ​

IChildEvent.stopNow

Inherited from ​

Event.stopNow

Defined in ​

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


stop ​

â–¸ stop(): void

Returns ​

void

Implementation of ​

IChildEvent.stop

Inherited from ​

Event.stop

Defined in ​

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

Released under the MIT License.