File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
src/material-examples/tooltip-manual Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
< div >
2
- < span > Mouse over to </ span >
2
+ < span > Click the following buttons to... </ span >
3
3
< button mat-button
4
- (mouseenter ) ="tooltip.show() "
5
- aria-label ="Button that progamatically shows a tooltip on another button "
4
+ (click ) ="tooltip.show() "
5
+ aria-label ="Show tooltip on the button at the end of this section "
6
6
class ="example-action-button ">
7
7
show
8
8
</ button >
9
9
< button mat-button
10
- (mouseenter ) ="tooltip.hide() "
11
- aria-label ="Button that progamatically hides a tooltip on another button "
10
+ (click ) ="tooltip.hide() "
11
+ aria-label ="Hide tooltip on the button at the end of this section "
12
12
class ="example-action-button ">
13
13
hide
14
14
</ button >
15
15
< button mat-button
16
- (mouseenter ) ="tooltip.toggle() "
17
- aria-label ="Button that progamatically toggles a tooltip on another button to show/hide "
16
+ (click ) ="tooltip.toggle() "
17
+ aria-label ="Show/Hide tooltip on the button at the end of this section "
18
18
class ="example-action-button ">
19
19
toggle show/hide
20
20
</ button >
25
25
matTooltipPosition ="right "
26
26
aria-tooltip ="Button that displays and hides a tooltip triggered by other buttons ">
27
27
Action
28
- </ button >
28
+ </ button >
You can’t perform that action at this time.
0 commit comments