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

Commit

Permalink
fix(fabToolbar): Fix md-direction attribute to be a string instead of…
Browse files Browse the repository at this point in the history
… expression.
  • Loading branch information
topherfangio committed Aug 15, 2015
1 parent f491e6d commit 14e998a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/components/fabToolbar/demoBasicUsage/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
</p>
</md-content>

<md-fab-toolbar md-open="demo.isOpen" count="demo.count" md-direction="demo.selectedDirection">
<md-fab-toolbar md-open="demo.isOpen" count="demo.count"
md-direction="{{demo.selectedDirection}}">
<md-fab-trigger class="align-with-text">
<md-button aria-label="menu" class="md-fab md-primary">
<md-icon md-svg-src="img/icons/menu.svg"></md-icon>
Expand Down Expand Up @@ -55,4 +56,4 @@
</div>
</div>
</md-content>
</div>
</div>
2 changes: 1 addition & 1 deletion src/components/fabToolbar/fabToolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
'</div>',

scope: {
direction: '=?mdDirection',
direction: '@?mdDirection',
isOpen: '=?mdOpen'
},

Expand Down

0 comments on commit 14e998a

Please sign in to comment.