Show:

F2.UI.Modals Class

Helper methods for creating and using Modals

Defined in: sdk\src\ui.js:67

Methods

Name Description
alert (
  • message
  • [callback]
)

Display an alert message on the page

confirm (
  • message
  • okCallback
  • cancelCallback
)

Display a confirm message on the page

Methods

alert (
  • message
  • [callback]
)

Defined in sdk\src\ui.js:83

Display an alert message on the page

Parameters:

  • message String

    The message to be displayed

  • [callback] Function optional

    The callback to be fired when the user closes the dialog


confirm (
  • message
  • okCallback
  • cancelCallback
)

Defined in sdk\src\ui.js:118

Display a confirm message on the page

Parameters:

  • message String

    The message to be displayed

  • okCallback Function

    The function that will be called when the OK button is pressed

  • cancelCallback Function

    The function that will be called when the Cancel button is pressed