我正在使用mat-horizontal-stepper组件 . 如何在类型脚本代码中设置键盘交互?通过角度材料进入docs只有规格:

Keyboard interaction
LEFT_ARROW: Focuses the previous step header
RIGHT_ARROW: Focuses the next step header
ENTER, SPACE: Selects the step that the focus is currently on
TAB: Focuses the next tabbable element
TAB+SHIFT: Focuses the previous tabbable element

https://material.angular.io/components/stepper/overview

非常感谢