The Confirmation Dialog can be configured with the next bindings
Attributes
confirmation-type
: String - The severity of the dialog (success, warn, critical, info)icon-glyph
: String - An icon glyph name.dialog-title
: String - A text to display on the header of the modal.dialog-message
: String - A text to display on the body of the modal (this could be an String with markdown text, the component automatically translate this to the correspond HTML tags)on-close
: Function - Event to call when dialog closes via the "x".on-result
: Function - Event to call when primary button is clicked (negative button returns false).negative-button-label
: String - A negative No/Cancel button labelpositive-button-label
: String - A positive Yes/Okay/Primary button labelhide-negative-button
: Boolean (optional) - Hide the negative buttonhide-positive-button
: Boolean (optional) - Hide the positive button