Skip to content

属性

浮层组件的属性

继承于

属性

属性类型描述
arrow?boolean是否显示箭头 默认值 false
arrowPadding?string箭头偏移量 默认值 0
closeDelay?string | number隐藏延时 默认值 0
content?null | string弹出文本内容 默认值 null
disableClickAway?boolean禁用点击区域外关闭 默认值 false
disabled?boolean是否禁用 默认值 false
hover?boolean通过悬浮触发 默认值 false
interactive?boolean是否可交互,若为false,则在点击或者悬浮后会关闭 默认值 true
locked?boolean是否锁定位置 默认值 true
offsetDistance?string距触发元素距离 默认值 12
offsetSkid?string偏移像素 默认值 0
openDelay?string | number弹出延时 默认值 0
placement?PopperPlacement弹出位置 默认值 bottom
show?null | boolean手动触发显示隐藏 默认值 null
targetElement?null | HTMLElement触发元素,优先级slot > 该属性,当popper触发关联一个无法被外层的元素时,使用该属性,且需要手动控制popper的显示 默认值 null
zIndex?string | number样式层级 默认值 9999