搜索
正在准备搜索索引...
搜索索引不可用
Swiper - v11.2.0
选项
全部
公开
公开/受保护
全部
继承
外部
菜单
Swiper - v11.2.0
types/modules/keyboard
KeyboardOptions
接口 KeyboardOptions
层级
KeyboardOptions
索引
属性
enabled
only
InViewport
page
UpDown
属性
可选
enabled
enabled
:
boolean
设置为
true
以启用键盘控制
默认值
false
可选
only
InViewport
only
InViewport
:
boolean
启用后,它将控制当前在视口中的滑块
默认值
true
可选
page
UpDown
page
UpDown
:
boolean
启用后,它将允许通过 Page Up 和 Page Down 键进行键盘导航
默认值
true
模块
types/modules/keyboard
Keyboard
Events
Keyboard
Methods
Keyboard
Options
enabled
only
InViewport
page
UpDown
使用
TypeDoc
生成
设置为
true
以启用键盘控制false