Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Dialogs

GUI Dialog helping class

Hierarchy

  • Dialogs

Index

Methods

Methods

Static error

  • error(title: string, message: string): void

Static question

  • question(title: string, message: string, okCallback: Function, cancelCallback: Function): void
  • Dialog with OK and CANCEL button

    Parameters

    • title: string

      Title of the dialog

    • message: string

      Question message

    • okCallback: Function

      Function that will be executed on OK

    • cancelCallback: Function

      Function that will be executed on CANCEL press

    Returns void

Static toast

  • toast(title: string, message: string, clickCallback: Function, timeoutCallback: Function): void
  • Notification with click and timeout listener

    Parameters

    • title: string

      Title of the toast

    • message: string

      Message of the toast

    • clickCallback: Function
    • timeoutCallback: Function

    Returns void

Generated using TypeDoc