Reading the documentation, it is not clear to me how to use the directive-based hotkeys.
I want to use them on a link so there is no function in the scope that I would want to call. So the example of <modal title="Modal Title" hotkey="{esc: close}"> does not offer a solution for that simple case.
How can I make a keystroke click a simple button or link that then takes the user wherever?
Reading the documentation, it is not clear to me how to use the directive-based hotkeys.
I want to use them on a link so there is no function in the scope that I would want to call. So the example of
<modal title="Modal Title" hotkey="{esc: close}">
does not offer a solution for that simple case.How can I make a keystroke click a simple button or link that then takes the user wherever?