* Called when any key is pressed on the navigation slide. * * @param Slide - A Slide component. * @param e - A KeyboardEvent object.
( Slide: SlideComponent, e: KeyboardEvent )
| 141 | * @param e - A KeyboardEvent object. |
| 142 | */ |
| 143 | function onKeydown( Slide: SlideComponent, e: KeyboardEvent ): void { |
| 144 | if ( includes( TRIGGER_KEYS, normalizeKey( e ) ) ) { |
| 145 | onClick( Slide ); |
| 146 | prevent( e ); |
| 147 | } |
| 148 | } |
| 149 | |
| 150 | return { |
| 151 | setup: apply( |
nothing calls this directly
no test coverage detected
searching dependent graphs…