add art.isLock

This commit is contained in:
Harvey committed 2022-05-16 13:09:08 +08:00
1 parent 2189a41334
commit 2c5ba00521
11 files changed
+214 -167

No files matched your search

+2
View File
@@ -7,10 +7,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### Added
- 添加 art.isInput 属性,当为 true 的时候不自动隐藏控制栏,如弹幕正在输入时
- 添加 art.isLock 属性,在移动端当为 true 的时候不能操作快进、开始和暂停
- 弹幕库监听 resize 事件,当输入框少于 150px 时,自动隐藏弹幕输入框
- 修复弹幕输入框的固定宽度 bug
- 设置面板支持 range 和 onRange 选项
- 添加 isAndroid 和 isiOS 工具函数
- 弹幕库添加 mount 选项,可自定义发送器的挂载位置
## [4.4.0] - 2022-05-15