Skip to content

Commit

Permalink
feat: 修改列表按下默认hover时间
Browse files Browse the repository at this point in the history
  • Loading branch information
sadais-fuwenlong committed Sep 19, 2020
1 parent 447a076 commit 2356bf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/listItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ export default {
classPrefix: 'pi-icon-' // 类名前缀,用于使用自定义图标,默认为(pi-icon-)
},
hoverClass: 'pi-hover-class', // 宫格按压时的样式类,"none"为无效果
hoverStartTime: 50, // 按住后多久出现点击态,单位毫秒
hoverStayTime: 400 // 手指松开后点击态保留时间,单位毫秒
hoverStartTime: 10, // 按住后多久出现点击态,单位毫秒
hoverStayTime: 100 // 手指松开后点击态保留时间,单位毫秒
}

0 comments on commit 2356bf3

Please sign in to comment.