Skip to content
This repository has been archived by the owner on Jan 16, 2018. It is now read-only.

Commit

Permalink
Update ClayNavigationBar demo
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Lancha authored and jbalsas committed Dec 13, 2017
1 parent 4e9a7fc commit eaa4738
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions packages/clay-navigation-bar/demos/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h4>Navigation Bar</h4>
<div class="row row-spacing">
<div class="col">
<h4>Navigation Bar with WebComponents</h4>
<clay-navigation-bar items='[{"active": true, "title": "Page 1", "url": "#1"}]' spritemap="../../../node_modules/clay/build/images/icons/icons.svg"></clay-navigation-bar>
<clay-navigation-bar items='[{"active": true, "label": "Page 1", "href": "#1"}]' spritemap="../../../node_modules/clay/build/images/icons/icons.svg"></clay-navigation-bar>
</div>
</div>

Expand All @@ -52,10 +52,23 @@ <h4>Inverted Navigation Bar</h4>
* Normal Navigation Bar
*/
var items = [
{ active: true, title: 'Page 1', url: '#1'},
{ title: 'Page 2', url: '#2'},
{ title: 'Page 3', url: '#3'},
{ title: 'Page 4', url: '#4'}
{
active: true,
href: '#1',
label: 'Page 1',
},
{
href: '#2',
label: 'Page 2',
},
{
href: '#3',
label: 'Page 3',
},
{
href: '#4',
label: 'Page 4',
}
];

new metal.ClayNavigationBar(
Expand Down

0 comments on commit eaa4738

Please sign in to comment.