NavigationEvent

NavigationEvent

Navigation Generates Event with Navigation Type . Useful to dispatched Event with EventName, Params, Event Type, Route

It support loosely connected View and ViewNavigator.

Constructor

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
_type string
_eventName string
_params Object
_route string
_bubbles *
_cancelable Boolean

Classes

NavigationEvent

Methods

clone() → {Object}

Source:
Returns:
  • creates and return NavigationEvent Instance
Type
Object