HtmlrenderWebkitHeadlessProtoWindowOpenEvent

GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoWindowOpenEvent


Table of Contents ▼

Jump to a specific part of the page:

Description

Corresponds to a call to window.open(). Note that a WindowOpenEvent will be present whether or not the call was successful.

Attributes List

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

View Attributes

Attributes

  1. allowed (type: boolean(), default: nil)
    - Whether or not the window was allowed to be opened by the popup blocker. Unless user events are created with a render extension this should be false.
  2. url (type: String.t, default: nil)
    - The URL for the new window. Note that this is the URL after it has been processed by WebKit, so, for example, relative links passed to window.create() will have been made absolute.
  3. windowFeatures (type: String.t, default: nil)
    - Window features passed to window.open().
  4. windowName (type: String.t, default: nil)
    - Window name passed to window.open(). If no name is provided this defaults to "_blank".

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoWindowOpenEvent{
allowed: boolean() | nil,
url: String.t() | nil,
windowFeatures: String.t() | nil,
windowName: String.t() | nil
}

Function

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

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