Constructor
new EventChannel(_id)
- Source:
Example
//create Navigation Event
let helloNavEvent = new NavigationEvent(EventUtils.NAV_CHANGE_EVENT, "Hello_NavEvent", "Message :: Hello World !!!", "/hello");
// Dispatch Navigation Event on Navigation Event Channel
EventBroadCaster.navEventChannel.dispatchEvent(navEvent);
Parameters:
Name | Type | Description |
---|---|---|
_id |
String | EventChannel ID |