mirror of
https://gitee.com/layui/layui.git
synced 2026-01-28 19:11:26 +08:00
增强 dropdown delay 选项,支持设置 显示/隐藏 的延迟时间
close https://gitee.com/layui/layui/issues/I8NZ8X
This commit is contained in:
@@ -142,11 +142,13 @@
|
||||
|
||||
延迟关闭的毫秒数。当 `trigger: 'hover'` 时才生效
|
||||
|
||||
<sup>2.9.2+</sup> 延时显示或隐藏的毫秒数,[showDelay, hideDelay]。若为 number 类型,则表示显示和隐藏的延迟时间相同,例如 300 或者 [200, 300]。当 `trigger: 'hover'` 时才生效
|
||||
|
||||
</td>
|
||||
<td>number</td>
|
||||
<td>number/array</td>
|
||||
<td>
|
||||
|
||||
`300`
|
||||
`[200, 300]`
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user