Lungo - *Cross-Device Framework* ================================ ## 2.3 Navigation The navigation in Lungo is entirely semantic, and you will use the element `` or `
``` ### 2.3.2 Data-back attribute As it has been said before, Lungo's navigation is based on the bread crumbs pattern, so navigation backwards between sections is done using the data-back functionality. You can set a button in your header using the data-back attribute or use in `
` or `button` tags data-router="section" with href="#back" ```
{{CONTENT}}
{{CONTENT}}
Same as header:
``` ### 2.3.3 Nav To create simple structures of navigation buttons within a footer or header the nav element has to be used. In the header, the nav element's position will depend on the class applied to it. `left` to the left and `right` to the right. ```
{{CONTENT}}
{{OTHER_CONTENT}}
{{CONTENT}}
``` ### 2.3.4 Groupbar Lungo gives you the capability to have a special menu at the top of your UI. To do this you have to extend the header element using class="extended" and create inside of it a nav element with class="groupbar" ```
{{CONTENT}}
{{OTHER_CONTENT}}
``` ### 2.3.5 Title Bindings To update the title of a section through the navigation, just use the attribute `data-title` in your navigation element. ```
``` ### 2.3.6 Visualization bindings You can show nav elements when a particular article is visible. ```
{{CONTENT}}
{{OTHER_CONTENT}}
```