Constructor
new NavigationEvent(_type, _eventName, _params, _route, _bubbles, _cancelable)
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 |
---|---|---|
_type |
string | |
_eventName |
string | |
_params |
Object | |
_route |
string | |
_bubbles |
* | |
_cancelable |
Boolean |
Classes
Methods
clone() → {Object}
Returns:
- creates and return NavigationEvent Instance
- Type
- Object