- Source:
Classes
Type Definitions
-
ConfirmViewOptions
-
- Source:
Properties:
Name Type Argument Default Description messagestring Message to be displayed
titlestring Modal title
okTextstring <optional>
Text for the OK button. Must be defined if showButtons or closable are set to
truecancelTextstring <optional>
Text for the Cancel button. Must be defined if showButtons is set to true
okHandlerfunction <optional>
Function called when the OK button is clicked. If showButtons is set to
true, this must be definedcancelHandlerfunction <optional>
Function called when the Cancel button is clicked
modalClassstring <optional>
Class added to modal after rendering
cancelClassstring <optional>
btn-danger Cancel button class
cancelIconstring <optional>
icon-remove Cancel button icon
closableboolean <optional>
true Set to true if the modal can be closed. If show buttons is true the modal
can still be closed using the buttonsokClassstring <optional>
btn-success OK button class
okIconstring <optional>
icon-ok OK button icon
showButtonsboolean <optional>
true Set to true if the modal should have OK and Cancel buttons
hiddenEventstring <optional>
hidden The Bootstrap event to listen for when the modal is hidden. Override
if using Bootstrap 3