Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MessageBoxOptions

Definition of message box options

Hierarchy

  • MessageBoxOptions

Index

Properties

Optional button1

Custom buttons. If no buttons are set, then a default OK button is displayed. You can set a label and a callback for button. Click on these buttons will close the MessageBox

Optional button2

Optional closeBtn

closeBtn: undefined | false | true

if set, a close button will be displayed

Optional closeBtnCb

closeBtnCb: Function

if closeBtn is true, then defines a callback to be called on close. You don't have to worry about closing in this callback

content

content: string

content of message box. can be html content

Optional defaultButton

defaultButton: undefined | false | true

if false, no default button will be displayed, unless closeBtn is false. Default is true.

Optional shortContent

shortContent: undefined | string

Short content to be displayed in lower resolutions (to be defined). If not set, content will always be displayed

Optional title

title: undefined | string

title of message box. If present, it will be displayed instead of default title (error, warning ...)

Optional type

type of message box. If not present, it will be an information message box

Generated using TypeDoc