CUI/SolidJs
预览
  • CUI-Admin
    权限管理开发平台

Popconfirm 气泡确认框

代码演示

属性

属性说明类型默认值
align位置top | bottom | left | right | topLeft | topRight | bottomLeft | bottomRight | leftTop | leftBottom | rightTop | rightBottomright
trigger触发条件hover | click | focushover
disabled禁用状态boolean
arrow显示箭头boolean
hideDelay隐藏延迟number200
theme主题string | light | primary | success | info | warning | error | blue | green | red | yellow | pink | magenta | volcano | orange | gold | lime | cyan | geekblue | purple
content提示内容string | JSXElement
contentStyle内容区域的样式JSX.CSSProperties | string
visible显示隐藏控制Signal
onVisibleChange打开回调函数Function
title标题JSX.Element
offset偏移量number
arrowPointAtCenter箭头位置在目标元素中间boolean-
okText确认按钮的文案string确认
cancelText取消按钮的文案string取消
okType确认按钮的类型同Button的type
cancelType取消按钮的类型同Button的type
icon图标JSXElement
showCancel是否隐藏取消按钮boolean
onOk确认按钮点击回调() => void | Promise<boolean|void>
onCancel取消按钮点击回调() => void