Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit f8deb0e

Browse files
sebakerckhofkara
authored andcommitted
fix(demo): fix the disable ink bar checkbox (#10423)
1 parent 8ae9c03 commit f8deb0e

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/components/navBar/demoBasicUsage/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<div ng-controller="AppCtrl" ng-cloak>
22
<md-content class="md-padding">
33
<md-nav-bar
4+
md-no-ink-bar="disableInkBar"
45
md-selected-nav-item="currentNavItem"
56
nav-bar-aria-label="navigation links">
67
<md-nav-item md-nav-click="goto('page1')" name="page1">

src/components/navBar/demoBasicUsage/script.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,9 @@
66

77
function AppCtrl($scope) {
88
$scope.currentNavItem = 'page1';
9+
10+
$scope.goto = function(page) {
11+
console.log("Goto " + page);
12+
}
913
}
1014
})();

0 commit comments

Comments
 (0)