Class: BoundsEvent ​
Hierarchy ​
↳
BoundsEvent
Implements ​
Table of contents ​
Constructors ​
Properties ​
Methods ​
Constructors ​
constructor ​
• new BoundsEvent(type, target?): BoundsEvent
Parameters ​
| Name | Type |
|---|---|
type | string |
target? | IEventTarget |
Returns ​
Inherited from ​
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 ​
Inherited from ​
Defined in ​
src/leafer/packages/event/src/Event.ts:7
type ​
• Readonly type: string
Implementation of ​
Inherited from ​
Defined in ​
src/leafer/packages/event/src/Event.ts:9
target ​
• Readonly target: IEventTarget
Implementation of ​
Inherited from ​
Defined in ​
src/leafer/packages/event/src/Event.ts:10
current ​
• Readonly current: IEventTarget
Implementation of ​
Inherited from ​
Defined in ​
src/leafer/packages/event/src/Event.ts:11
bubbles ​
• Readonly bubbles: boolean = false
Implementation of ​
Inherited from ​
Defined in ​
src/leafer/packages/event/src/Event.ts:13
phase ​
• Readonly phase: number
Implementation of ​
Inherited from ​
Defined in ​
src/leafer/packages/event/src/Event.ts:14
isStopDefault ​
• isStopDefault: boolean
Implementation of ​
Inherited from ​
Defined in ​
src/leafer/packages/event/src/Event.ts:16
isStop ​
• isStop: boolean
Implementation of ​
Inherited from ​
Defined in ​
src/leafer/packages/event/src/Event.ts:17
isStopNow ​
• isStopNow: boolean
Implementation of ​
Inherited from ​
Defined in ​
src/leafer/packages/event/src/Event.ts:18
Methods ​
checkHas ​
â–¸ checkHas(leaf, type, mode): void
Parameters ​
| Name | Type |
|---|---|
leaf | IEventTarget |
type | string |
mode | "off" | "on" |
Returns ​
void
Defined in ​
src/leafer/packages/event/src/BoundsEvent.ts:17
emitLocal ​
â–¸ emitLocal(leaf): void
Parameters ​
| Name | Type |
|---|---|
leaf | ILeaf |
Returns ​
void
Defined in ​
src/leafer/packages/event/src/BoundsEvent.ts:26
emitWorld ​
â–¸ emitWorld(leaf): void
Parameters ​
| Name | Type |
|---|---|
leaf | ILeaf |
Returns ​
void
Defined in ​
src/leafer/packages/event/src/BoundsEvent.ts:37
stopDefault ​
â–¸ stopDefault(): void
Returns ​
void
Implementation of ​
Inherited from ​
Defined in ​
src/leafer/packages/event/src/Event.ts:25
stopNow ​
â–¸ stopNow(): void
Returns ​
void
Implementation of ​
Inherited from ​
Defined in ​
src/leafer/packages/event/src/Event.ts:30
stop ​
â–¸ stop(): void
Returns ​
void