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