Constructor
new MenuCtrl(router, proxy, view, currentViewState)
The constructor which adds it self as listener to the provided subjects.
Parameters:
Name | Type | Description |
---|---|---|
router |
Router | The router subject |
proxy |
MenuProxy | The menuproxy subject |
view |
View | The view subject |
currentViewState |
CurrentViewState | The current view state subject |
- Source:
Methods
handleEvent(event)
Handle and incoming event
Parameters:
Name | Type | Description |
---|---|---|
event |
Event | The incoming event |
- Source: