View Source GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoWindowOpenEvent (google_api_content_warehouse v0.4.0)

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

Attributes

  • 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.
  • 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.
  • windowFeatures (type: String.t, default: nil) - Window features passed to window.open().
  • windowName (type: String.t, default: nil) - Window name passed to window.open(). If no name is provided this defaults to "_blank".

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

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

Unwrap a decoded JSON object into its complex fields.