Back to Taro

taro-view-core

packages/taro-components/src/components/view/readme.md

4.2.01.6 KB
Original Source

taro-view-core

API

属性类型默认值说明
hover-classStringnone指定按下去的样式类。当 hover-class="none" 时,没有点击态效果
hover-start-timeNumber50按住后多久出现点击态,单位毫秒
hover-stay-timeNumber400手指松开后点击态保留时间,单位毫秒
hover-stop-propagationBooleanfalse指定是否阻止本节点的祖先节点出现点击态
<!-- Auto Generated Below -->

Properties

PropertyAttributeDescriptionTypeDefault
animationanimationstringundefined
hoverClasshover-classstringundefined
hoverStartTimehover-start-timenumber50
hoverStayTimehover-stay-timenumber400

Events

EventDescriptionType
longpressCustomEvent<any>

Built with StencilJS