Class: Paggio::HTML::Element

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

Instance Method Summary collapse

Instance Method Details

#on(*args, &block) ⇒ Object


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

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