Class: WebkitRemote::Event::DomReset
- Inherits:
-
WebkitRemote::Event
- Object
- WebkitRemote::Event
- WebkitRemote::Event::DomReset
- Defined in:
- lib/webkit_remote/client/dom_events.rb
Overview
Emitted when the entire document has changed, and all DOM structure is lost.
Instance Attribute Summary
Attributes inherited from WebkitRemote::Event
Instance Method Summary collapse
-
#initialize(rpc_event, client) ⇒ DomReset
constructor
A new instance of DomReset.
Methods inherited from WebkitRemote::Event
can_reach?, can_receive?, class_for, for, #matches?, register, register_class
Constructor Details
#initialize(rpc_event, client) ⇒ DomReset
Returns a new instance of DomReset.
10 11 12 13 |
# File 'lib/webkit_remote/client/dom_events.rb', line 10 def initialize(rpc_event, client) super client.clear_dom end |