Skip to content

Class: BoundsEvent ​

Hierarchy ​

Implements ​

Table of contents ​

Constructors ​

Properties ​

Methods ​

Constructors ​

constructor ​

• new BoundsEvent(type, target?): BoundsEvent

Parameters ​

NameType
typestring
target?IEventTarget

Returns ​

BoundsEvent

Inherited from ​

Event.constructor

Defined in ​

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

Properties ​

RESIZE ​

â–Ş Static RESIZE: string = 'bounds.resize'

Defined in ​

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


INNER ​

â–Ş Static INNER: string = 'bounds.inner'

Defined in ​

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


LOCAL ​

â–Ş Static LOCAL: string = 'bounds.local'

Defined in ​

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


WORLD ​

â–Ş Static WORLD: string = 'bounds.world'

Defined in ​

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


origin ​

• Readonly origin: IObject

Implementation of ​

IBoundsEvent.origin

Inherited from ​

Event.origin

Defined in ​

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


type ​

• Readonly type: string

Implementation of ​

IBoundsEvent.type

Inherited from ​

Event.type

Defined in ​

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


target ​

• Readonly target: IEventTarget

Implementation of ​

IBoundsEvent.target

Inherited from ​

Event.target

Defined in ​

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


current ​

• Readonly current: IEventTarget

Implementation of ​

IBoundsEvent.current

Inherited from ​

Event.current

Defined in ​

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


bubbles ​

• Readonly bubbles: boolean = false

Implementation of ​

IBoundsEvent.bubbles

Inherited from ​

Event.bubbles

Defined in ​

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


phase ​

• Readonly phase: number

Implementation of ​

IBoundsEvent.phase

Inherited from ​

Event.phase

Defined in ​

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


isStopDefault ​

• isStopDefault: boolean

Implementation of ​

IBoundsEvent.isStopDefault

Inherited from ​

Event.isStopDefault

Defined in ​

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


isStop ​

• isStop: boolean

Implementation of ​

IBoundsEvent.isStop

Inherited from ​

Event.isStop

Defined in ​

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


isStopNow ​

• isStopNow: boolean

Implementation of ​

IBoundsEvent.isStopNow

Inherited from ​

Event.isStopNow

Defined in ​

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

Methods ​

checkHas ​

â–¸ checkHas(leaf, type, mode): void

Parameters ​

NameType
leafIEventTarget
typestring
mode"off" | "on"

Returns ​

void

Defined in ​

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


emitLocal ​

â–¸ emitLocal(leaf): void

Parameters ​

NameType
leafILeaf

Returns ​

void

Defined in ​

src/leafer/packages/event/src/BoundsEvent.ts:26


emitWorld ​

â–¸ emitWorld(leaf): void

Parameters ​

NameType
leafILeaf

Returns ​

void

Defined in ​

src/leafer/packages/event/src/BoundsEvent.ts:37


stopDefault ​

â–¸ stopDefault(): void

Returns ​

void

Implementation of ​

IBoundsEvent.stopDefault

Inherited from ​

Event.stopDefault

Defined in ​

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


stopNow ​

â–¸ stopNow(): void

Returns ​

void

Implementation of ​

IBoundsEvent.stopNow

Inherited from ​

Event.stopNow

Defined in ​

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


stop ​

â–¸ stop(): void

Returns ​

void

Implementation of ​

IBoundsEvent.stop

Inherited from ​

Event.stop

Defined in ​

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

Released under the MIT License.