I have two angular material buttons. My goal is to programmatically let the button ripple when a certain key is pressed.
Take a look at the stack-blitz project: https://stackblitz.com/edit/angular-material-button-vphppo
Is there a way to let the button ripple on click or on key-press exactly one time?
I tried these examples How can I programmatically trigger ripple effect on Angular MatListItem?
- But this lets the button ripples two time on click.