struct Protocol::Page::WindowOpen

Overview

Fired when a new window is going to be opened, via window.open(), link click, form submission, etc.

Included Modules

Defined in:

protocol/page.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def url : String #

The URL for the new window.


[View source]
def user_gesture : Bool #

Whether or not it was triggered by user gesture.


[View source]
def window_features : Array(String) #

An array of enabled window features.


[View source]
def window_name : String #

Window name.


[View source]