struct Protocol::DOMDebugger::EventListener

Overview

Object event listener.

Included Modules

Defined in:

protocol/dom_debugger.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def backend_node_id : DOM::BackendNodeId | Nil #

Node the listener is added to (if any).


[View source]
def column_number : Int::Primitive #

Column number in the script (0-based).


[View source]
def handler : Runtime::RemoteObject | Nil #

Event handler function value.


[View source]
def line_number : Int::Primitive #

Line number in the script (0-based).


[View source]
def once : Bool #

EventListener's once flag.


[View source]
def original_handler : Runtime::RemoteObject | Nil #

Event original handler function value.


[View source]
def passive : Bool #

EventListener's passive flag.


[View source]
def script_id : Runtime::ScriptId #

Script id of the handler code.


[View source]
def type : String #

EventListener's type.


[View source]
def use_capture : Bool #

EventListener's useCapture.


[View source]