Popconfirm

A simple confirmation dialog of an element click action.

Basic usage

Popconfirm is similar to Popover. So for some duplicated attributes, please refer to the documentation of Popover.

Customize

You can customize Popconfirm like:

Trigger event

Click the button to trigger the event

Attributes

AttributeDescriptionTypeAccepted ValuesDefault
titleTitleString
confirmButtonTextConfirm button textString
cancelButtonTextCancel button textString
confirmButtonTypeConfirm button typeStringPrimary
cancelButtonTypeCancel button typeStringText
iconIconStringel-icon-question
iconColorIcon colorString#f90
hideIconis hide IconBooleanfalse

Slots

NameDescription
referenceHTML element that triggers Popconfirm

Events

Event NameDescriptionParameters
confirmtriggers when click confirm button
canceltriggers when click cancel button