class method Element.addMethods
Element.addMethods(methods) → undefined
Element.addMethods(tagName, methods) → undefined
Takes a hash of methods and makes them available as methods of extended
elements and of the Element
object.
The second usage form is for adding methods only to specific tag names.