Interface: ILeafEventer
Hierarchy
ILeafEventer
↳
IEventer
Table of contents
Methods
Methods
on
▸ on(type
, listener?
, options?
): void
Parameters
Name | Type |
---|---|
type | string | string [] | IEventMap |
listener? | IFunction |
options? | boolean | IEventListenerOptions |
Returns
void
Defined in
leafer/packages/interface/src/display/module/ILeafEventer.ts:10
off
▸ off(type?
, listener?
, options?
): void
Parameters
Name | Type |
---|---|
type? | string | string [] |
listener? | IFunction |
options? | boolean | IEventListenerOptions |
Returns
void
Defined in
leafer/packages/interface/src/display/module/ILeafEventer.ts:11
on_
▸ on_(type
, listener
, bind?
, options?
): IEventListenerId
Parameters
Name | Type |
---|---|
type | string | string [] |
listener | IFunction |
bind? | IObject |
options? | boolean | IEventListenerOptions |
Returns
Defined in
leafer/packages/interface/src/display/module/ILeafEventer.ts:12
off_
▸ off_(id
): void
Parameters
Name | Type |
---|---|
id | IEventListenerId | IEventListenerId [] |
Returns
void
Defined in
leafer/packages/interface/src/display/module/ILeafEventer.ts:13
once
▸ once(type
, listener
, capture?
): void
Parameters
Name | Type |
---|---|
type | string | string [] |
listener | IFunction |
capture? | boolean |
Returns
void
Defined in
leafer/packages/interface/src/display/module/ILeafEventer.ts:14
emit
▸ emit(type
, event?
, capture?
): void
Parameters
Name | Type |
---|---|
type | string |
event? | IObject | IEvent |
capture? | boolean |
Returns
void
Defined in
leafer/packages/interface/src/display/module/ILeafEventer.ts:15
emitEvent
▸ emitEvent(event?
, capture?
): void
Parameters
Name | Type |
---|---|
event? | IEvent |
capture? | boolean |
Returns
void
Defined in
leafer/packages/interface/src/display/module/ILeafEventer.ts:16
hasEvent
▸ hasEvent(type
, capture?
): boolean
Parameters
Name | Type |
---|---|
type | string |
capture? | boolean |
Returns
boolean
Defined in
leafer/packages/interface/src/display/module/ILeafEventer.ts:17
destroyEventer
▸ destroyEventer(): void
Returns
void
Defined in
leafer/packages/interface/src/display/module/ILeafEventer.ts:18