View Source GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoModalDialogEvent (google_api_content_warehouse v0.3.0)

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

Attributes

  • confirmed (type: boolean(), default: nil) - Whether a confirm() or prompt() dialog was confirmed. Will not be present for an alert() dialog.
  • message (type: String.t, default: nil) -
  • 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.
  • type (type: String.t, default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

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

Unwrap a decoded JSON object into its complex fields.