Module: Taka::DOM::HTML::ButtonElement

Includes:
FieldSetElement
Defined in:
lib/taka/dom/html/button_element.rb

Instance Method Summary collapse

Methods included from FieldSetElement

#form

Instance Method Details

#nameObject



7
8
9
# File 'lib/taka/dom/html/button_element.rb', line 7

def name
  self['name']
end

#tabIndexObject



11
12
13
# File 'lib/taka/dom/html/button_element.rb', line 11

def tabIndex
  (self['tabindex'] || 0).to_i
end

#typeObject



15
16
17
# File 'lib/taka/dom/html/button_element.rb', line 15

def type
  self['type']
end