@@ -13,71 +13,73 @@ <h2 class="md-toolbar-tools">
13
13
</ h2 >
14
14
</ md-toolbar >
15
15
< md-content layout-padding style ="margin-left: 20px; margin-right: 20px ">
16
+ < div >
16
17
17
- < p >
18
- The tooltip is visible when the button is hovered, focused, or touched.
19
- </ p >
20
-
21
- < md-button class ="md-fab md-fab-top-left left " aria-label ="Insert Drive ">
22
- < md-icon md-svg-src ="img/icons/ic_insert_drive_file_24px.svg " style ="width: 24px; height: 24px; "> </ md-icon >
23
- < md-tooltip md-visible ="demo.showTooltip " md-direction ="{{demo.tipDirection}} ">
24
- Insert Drive
25
- </ md-tooltip >
26
- </ md-button >
27
- < md-button class ="md-fab md-fab-top-right right " aria-label ="Photos ">
28
- < md-icon md-svg-src ="img/icons/ic_photo_24px.svg " style ="width: 24px; height: 24px; "> </ md-icon >
29
- < md-tooltip >
30
- Photos
31
- </ md-tooltip >
32
- </ md-button >
33
-
34
-
35
- < div style ="margin-top: 150px; ">
36
18
< p >
37
- Additionally, the Tooltip's < code > md-visible</ code > attribute can use data-binding to
38
- programmatically show/hide itself. Toggle the checkbox below...
19
+ The tooltip is visible when the button is hovered, focused, or touched.
39
20
</ p >
40
- < div style ="padding-left: 37px ">
41
- < md-checkbox ng-model ="demo.showTooltip " style ="padding-left:30px; ">
42
- Insert Drive
43
- </ md-checkbox >
44
- </ div >
45
- </ div >
46
21
47
- < div style ="margin-top: 20px;margin-bottom: -5px ">
48
- < p >
49
- Additionally, the Tooltip's < code > md-delay</ code > attribute can use to delay the
50
- show animation. The default values is 0 mSecs...
51
- </ p >
52
- < div style ="padding-left: 37px ">
53
- < md-input-container >
54
- < label > Tooltip Delay (for Photos)</ label >
55
- < input ng-model ="demo.delayTooltip ">
56
- </ md-input-container >
22
+ < md-button class ="md-fab " aria-label ="Insert Drive ">
23
+ < md-icon md-svg-src ="img/icons/ic_insert_drive_file_24px.svg "> </ md-icon >
24
+ < md-tooltip md-visible ="demo.showTooltip " md-direction ="{{demo.tipDirection}} ">
25
+ Insert Drive
26
+ </ md-tooltip >
27
+ </ md-button >
28
+ < md-button class ="md-fab md-fab-top-right right " aria-label ="Photos ">
29
+ < md-tooltip >
30
+ Photos
31
+ </ md-tooltip >
32
+ < md-icon md-svg-src ="img/icons/ic_photo_24px.svg " style ="width: 24px; height: 24px; "> </ md-icon >
33
+ </ md-button >
57
34
58
- < md-button class ="md-fab demo-tip " aria-label ="Photos with Tooltip Delay ">
59
- < md-icon md-svg-src ="img/icons/ic_photo_24px.svg " style ="width: 24px; height: 24px; "> </ md-icon >
60
- < md-tooltip md-delay ="demo.delayTooltip " c >
61
- Photos with Tooltip Delay {{demo.delayTooltip}} msecs
62
- </ md-tooltip >
63
- </ md-button >
64
35
36
+ < div style ="margin-top: 40px;margin-bottom: -5px ">
37
+ < p > < code > md-direction</ code > attribute can used to dynamically change the direction of the tooltip.< br />
38
+ Note: the direction default value is 'bottom'. </ p >
39
+ < div style ="padding-left: 30px ">
40
+ < md-radio-group ng-model ="demo.tipDirection " >
41
+ < md-radio-button value ="left "> Left </ md-radio-button >
42
+ < md-radio-button value ="top "> Top</ md-radio-button >
43
+ < md-radio-button value ="bottom " class ="md-primary "> Bottom</ md-radio-button >
44
+ < md-radio-button value ="right "> Right</ md-radio-button >
45
+ </ md-radio-group >
46
+ </ div >
65
47
</ div >
66
- </ div >
67
48
68
- < div style ="margin-top: 20px;margin-bottom: -5px ">
69
- < p > < code > md-direction</ code > attribute can used to dynamically change the direction of the tooltip.< br />
70
- Note: the direction default value is 'bottom'. </ p >
71
- < div style ="padding-left: 30px ">
72
- < md-radio-group ng-model ="demo.tipDirection " >
73
- < md-radio-button value ="left "> Left </ md-radio-button >
74
- < md-radio-button value ="top "> Top</ md-radio-button >
75
- < md-radio-button value ="bottom " class ="md-primary "> Bottom</ md-radio-button >
76
- < md-radio-button value ="right "> Right</ md-radio-button >
77
- </ md-radio-group >
49
+
50
+ < div style ="margin-top: 20px; ">
51
+ < p >
52
+ Additionally, the Tooltip's < code > md-visible</ code > attribute can use data-binding to
53
+ programmatically show/hide itself. Toggle the checkbox below...
54
+ </ p >
55
+ < div style ="padding-left: 37px ">
56
+ < md-checkbox ng-model ="demo.showTooltip " style ="padding-left:30px; ">
57
+ Insert Drive
58
+ </ md-checkbox >
59
+ </ div >
78
60
</ div >
79
- </ div >
80
61
62
+ < div style ="margin-top: 20px;margin-bottom: -5px ">
63
+ < p >
64
+ Additionally, the Tooltip's < code > md-delay</ code > attribute can use to delay the
65
+ show animation. The default values is 0 mSecs...
66
+ </ p >
67
+ < div style ="padding-left: 37px ">
68
+ < md-input-container >
69
+ < label > Tooltip Delay (for Photos)</ label >
70
+ < input ng-model ="demo.delayTooltip ">
71
+ </ md-input-container >
72
+
73
+ < md-button class ="md-fab " aria-label ="Photos with Tooltip Delay " style ="margin-top: -24px; ">
74
+ < md-icon md-svg-src ="img/icons/ic_photo_24px.svg " style ="width: 24px; height: 24px; "> </ md-icon >
75
+ < md-tooltip md-delay ="demo.delayTooltip ">
76
+ Photos with Tooltip Delay {{demo.delayTooltip}} msecs
77
+ </ md-tooltip >
78
+ </ md-button >
81
79
80
+ </ div >
81
+ </ div >
82
+
83
+ </ div >
82
84
</ md-content >
83
85
</ div >
0 commit comments