HtmlrenderWebkitHeadlessProtoModalDialogEvent

GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoModalDialogEvent


Table of Contents ▼

Jump to a specific part of the page:

Description

Event for a modal dialog created by one of window.confirm(), window.prompt(), or window.alert().

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. confirmed (type: boolean(), default: nil)
    - Whether a confirm() or prompt() dialog was confirmed. Will not be present for an alert() dialog.
  2. message (type: String.t, default: nil)
    -
  3. result (type: String.t, default: nil)
    - For a prompt() dialog, the result of the prompt. Will not be present for other types of dialogs. If confirmed == false and the prompt had a default value, result will contain the default value.
  4. type (type: String.t, default: nil)
    -

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoModalDialogEvent{
confirmed: boolean() | nil,
message: String.t() | nil,
result: String.t() | nil,
type: String.t() | nil
}

Function

@spec decode(struct(), keyword()) :: struct()

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoModalDialogEvent