Skip to content

Commit 72d0685

Browse files
merzak7jelbourn
authored andcommitted
docs(toolbar): update (fabToolbar, fabToolbar & tooltip) docs (angular#9612)
* Fix documentation#usage for fabSpeedDial * Fix documentation#usage for fabToolbar * Fix documentation#usage for tooltip
1 parent 07532a0 commit 72d0685

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/components/fabSpeedDial/fabSpeedDial.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -76,16 +76,16 @@
7676
* <hljs lang="html">
7777
* <md-fab-speed-dial md-direction="up" class="md-fling">
7878
* <md-fab-trigger>
79-
* <md-button aria-label="Add..."><md-icon icon="/img/icons/plus.svg"></md-icon></md-button>
79+
* <md-button aria-label="Add..."><md-icon md-svg-src="/img/icons/plus.svg"></md-icon></md-button>
8080
* </md-fab-trigger>
8181
*
8282
* <md-fab-actions>
8383
* <md-button aria-label="Add User">
84-
* <md-icon icon="/img/icons/user.svg"></md-icon>
84+
* <md-icon md-svg-src="/img/icons/user.svg"></md-icon>
8585
* </md-button>
8686
*
8787
* <md-button aria-label="Add Group">
88-
* <md-icon icon="/img/icons/group.svg"></md-icon>
88+
* <md-icon md-svg-src="/img/icons/group.svg"></md-icon>
8989
* </md-button>
9090
* </md-fab-actions>
9191
* </md-fab-speed-dial>

src/components/fabToolbar/fabToolbar.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,17 @@
5050
* <hljs lang="html">
5151
* <md-fab-toolbar md-direction='left'>
5252
* <md-fab-trigger>
53-
* <md-button aria-label="Add..."><md-icon icon="/img/icons/plus.svg"></md-icon></md-button>
53+
* <md-button aria-label="Add..."><md-icon md-svg-src="/img/icons/plus.svg"></md-icon></md-button>
5454
* </md-fab-trigger>
5555
*
5656
* <md-toolbar>
5757
* <md-fab-actions>
5858
* <md-button aria-label="Add User">
59-
* <md-icon icon="/img/icons/user.svg"></md-icon>
59+
* <md-icon md-svg-src="/img/icons/user.svg"></md-icon>
6060
* </md-button>
6161
*
6262
* <md-button aria-label="Add Group">
63-
* <md-icon icon="/img/icons/group.svg"></md-icon>
63+
* <md-icon md-svg-src="/img/icons/group.svg"></md-icon>
6464
* </md-button>
6565
* </md-fab-actions>
6666
* </md-toolbar>

src/components/tooltip/tooltip.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ angular
2424
* <md-tooltip>
2525
* Play Music
2626
* </md-tooltip>
27-
* <md-icon icon="img/icons/ic_play_arrow_24px.svg"></md-icon>
27+
* <md-icon md-svg-src="img/icons/ic_play_arrow_24px.svg"></md-icon>
2828
* </md-button>
2929
* </hljs>
3030
*

0 commit comments

Comments
 (0)