[]
        
(Showing Draft Content)

IGCEventBus

Interface: IGCEventBus

Internal EventBus interface.

Methods

dispatch()

dispatch(eventName, ...rest): any

Raise event.

Parameters

eventName

BusEventName

rest

...any[]

Returns

any


off()

off(eventName, listener): any

Unlisten event.

Parameters

eventName

BusEventName

listener

Function

Returns

any


on()

on(eventName, listener): any

Listen event.

Parameters

eventName

BusEventName

listener

Function

Returns

any