Events
Defined in: publish.d.ts:355
Extended by
Constructors
new Events()
new Events():
Events
Returns
Methods
off()
off(
name
,callback
):void
Defined in: publish.d.ts:364
Parameters
name
string
callback
(…data
) => unknown
Returns
void
offref()
offref(
ref
):void
Defined in: publish.d.ts:368
Parameters
ref
Returns
void
on()
on(
name
,callback
,ctx
?):EventRef
Defined in: publish.d.ts:360
Parameters
name
string
callback
(…data
) => unknown
ctx?
any
Returns
trigger()
trigger(
name
, …data
):void
Defined in: publish.d.ts:372
Parameters
name
string
data
…unknown
[]
Returns
void
tryTrigger()
tryTrigger(
evt
,args
):void
Defined in: publish.d.ts:376
Parameters
evt
args
unknown
[]
Returns
void