Class: Paggio::HTML::Element

Inherits:
BasicObject
Defined in:
opal/browser/dom/builder.rb

Instance Method Summary collapse

Instance Method Details

#on(*args, &block) ⇒ Object

[View source]

10
11
12
# File 'opal/browser/dom/builder.rb', line 10

def on(*args, &block)
  (@on ||= []) << [args, block]
end