File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
src/material-examples/tooltip-manual Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 2
2
< span > Mouse over to </ span >
3
3
< button mat-button
4
4
(mouseenter) ="tooltip.show() "
5
+ (keyup.enter) ="tooltip.show() "
5
6
aria-label ="Button that progamatically shows a tooltip on another button "
6
7
class ="example-action-button ">
7
8
show
8
9
</ button >
9
10
< button mat-button
10
11
(mouseenter) ="tooltip.hide() "
12
+ (keyup.enter) ="tooltip.hide() "
11
13
aria-label ="Button that progamatically hides a tooltip on another button "
12
14
class ="example-action-button ">
13
15
hide
14
16
</ button >
15
17
< button mat-button
16
18
(mouseenter) ="tooltip.toggle() "
19
+ (keyup.enter) ="tooltip.toggle() "
17
20
aria-label ="Button that progamatically toggles a tooltip on another button to show/hide "
18
21
class ="example-action-button ">
19
22
toggle show/hide
You can’t perform that action at this time.
0 commit comments