new MenuLoader()
modules/menu/menuLoader.js, line 19
This Loader creates a menu based on the current state and config
Extends
Methods
-
loadMenu(isReload){Object}
modules/menu/menuLoader.js, line 110 -
Prüft initial und nach jedem Resize, ob und welches Menü geladen werden muss und lädt bzw. entfernt Module.
Name Type Description isReload
boolean Flag indicating if menu is reloaded Fires:
- Map#event:RadioTriggerMapUpdateSize
-
reloadMenu(){Void}
modules/menu/menuLoader.js, line 74 -
Removes the menu and reloads it.
-
switchCollectionLanguage(collection){Void}
modules/menu/menuLoader.js, line 87 -
changes the values of all models in ModelList collection where a translate function is given
Name Type Description collection
Backbone.Collection the collection (e.g. ModelList) to run through