File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed
src/material-examples/tooltip-manual Expand file tree Collapse file tree 1 file changed +4
-9
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
- (focus) ="tooltip.show() "
6
- (focusout) ="tooltip.hide() "
4
+ (click) ="tooltip.show() "
7
5
aria-label ="Button that progamatically shows a tooltip on another button "
8
6
class ="example-action-button ">
9
7
show
10
8
</ button >
11
9
< button mat-button
12
- (mouseenter) ="tooltip.hide() "
13
- (focus) ="tooltip.hide() "
10
+ (click) ="tooltip.hide() "
14
11
aria-label ="Button that progamatically hides a tooltip on another button "
15
12
class ="example-action-button ">
16
13
hide
17
14
</ button >
18
15
< button mat-button
19
- (mouseenter) ="tooltip.toggle() "
20
- (focus) ="tooltip.toggle() "
21
- (focusout) ="tooltip.hide() "
16
+ (click) ="tooltip.toggle() "
22
17
aria-label ="Button that progamatically toggles a tooltip on another button to show/hide "
23
18
class ="example-action-button ">
24
19
toggle show/hide
You can’t perform that action at this time.
0 commit comments