Search⌘ K
AI Features

Setting Up the Models

Explore how to configure Backbone models to represent header menu entries with name and URL attributes. Understand using the Picky plugin to manage single active menu selection and highlight the active item. This lesson helps you build efficient menu navigation within a Marionette sub-application using composite views.

We'll cover the following...

We’re going to manage the menu in our header with a sub-application. It will control application switching but will also track the currently active application so its menu entry can be highlighted. All these features will be handled by manipulating Backbone models and without HTML data- attribute complexities. Instead, we’ll use the ...