Class: Playwright::BindingCall

Inherits:
PlaywrightApi show all
Defined in:
lib/playwright_api/binding_call.rb

Instance Method Summary collapse

Methods inherited from PlaywrightApi

#==, #initialize, wrap

Constructor Details

This class inherits a constructor from Playwright::PlaywrightApi

Instance Method Details

#nameObject



6
7
8
# File 'lib/playwright_api/binding_call.rb', line 6

def name
  wrap_impl(@impl.name)
end

#off(event, callback) ⇒ Object

– inherited from EventEmitter –



12
13
14
# File 'lib/playwright_api/binding_call.rb', line 12

def off(event, callback)
  event_emitter_proxy.off(event, callback)
end

#on(event, callback) ⇒ Object

– inherited from EventEmitter –



24
25
26
# File 'lib/playwright_api/binding_call.rb', line 24

def on(event, callback)
  event_emitter_proxy.on(event, callback)
end

#once(event, callback) ⇒ Object

– inherited from EventEmitter –



18
19
20
# File 'lib/playwright_api/binding_call.rb', line 18

def once(event, callback)
  event_emitter_proxy.once(event, callback)
end