.. _Window.alert: ================================================ Window.alert ================================================ void **alert** (:ref:`String` **message**, :ref:`String` **title**, :ref:`Boolean` **errorIcon**) Parameters ---------- +---------------+------------------------------------------------------------------------------------------------------------+ | **message** | TThe string for the displayed message. | +---------------+------------------------------------------------------------------------------------------------------------+ | **title** | A string to appear as the title of the dialog, if the platform supports a title. | +---------------+------------------------------------------------------------------------------------------------------------+ | **errorIcon** | When true, the platform-standard alert icon is replaced by the platform-standard error icon in the dialog. | +---------------+------------------------------------------------------------------------------------------------------------+ Description ----------- Displays a platform-standard dialog containing a short message and an OK button.