Constructor
new EventRouter(_routesopt)
    EventRouter holds and manages array of event routes
Event Routes are used by ViewNavigator to find associated View and Viewstack
    Parameters:
| Name | Type | Attributes | Default | Description | 
|---|---|---|---|---|
| _routes | array | <optional> | [] | Events routes array | 
- Source:
Methods
| Name | Description | 
|---|---|
| addRoute | Adds new Event Route | 
| findRoute | find Event Route using Naviagtion EventName | 
| findViewId | finds associated view by Navigation EventName and Path | 
| findViewStackId | finds associated viewstack by Navigation EventName and Path | 
| printRoutes | prints Event Routes | 
| reset | Remove and Resets existing event routes | 
addRoute(_navEvent, _viewstackId, _viewId, _path)
    Adds new Event Route
    Parameters:
| Name | Type | Description | 
|---|---|---|
| _navEvent | string | Navigation Event Name | 
| _viewstackId | string | ViewStack ID | 
| _viewId | string | View ID | 
| _path | string | Navigator Route path associted | 
- Source:
findRoute(_navEvent) → {Object}
    find Event Route using Naviagtion EventName
    Parameters:
| Name | Type | Description | 
|---|---|---|
| _navEvent | string | 
- Source:
Returns:
    Event Route Object
- Type
- Object
findViewId(_navEvent, _path) → {string}
    finds associated view by Navigation EventName and Path
    Parameters:
| Name | Type | Description | 
|---|---|---|
| _navEvent | string | |
| _path | string | 
- Source:
Returns:
    - ViewID
- Type
- string
findViewStackId(_navEvent, _path) → {string}
    finds associated viewstack by Navigation EventName and Path
    Parameters:
| Name | Type | Description | 
|---|---|---|
| _navEvent | string | |
| _path | string | 
- Source:
Returns:
    - ViewStackID
- Type
- string
printRoutes()
    prints Event Routes
- Source:
reset()
    Remove and Resets existing event routes
- Source: