Class: Playwright::BindingCall

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

Instance Method Summary collapse

Methods inherited from PlaywrightApi

#==, from_channel_owner, #initialize

Constructor Details

This class inherits a constructor from Playwright::PlaywrightApi

Instance Method Details

#off(event, callback) ⇒ Object

– inherited from EventEmitter –



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

def off(event, callback)
  wrap_impl(@impl.off(event, callback))
end

#on(event, callback) ⇒ Object

– inherited from EventEmitter –



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

def on(event, callback)
  wrap_impl(@impl.on(event, callback))
end

#once(event, callback) ⇒ Object

– inherited from EventEmitter –



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

def once(event, callback)
  wrap_impl(@impl.once(event, callback))
end