Module: Taka::DOM::HTML::AnchorElement

Defined in:
lib/taka/dom/html/anchor_element.rb

Instance Method Summary collapse

Instance Method Details

#blurObject



17
18
19
# File 'lib/taka/dom/html/anchor_element.rb', line 17

def blur
  # does nothing....
end

#focusObject



21
22
23
# File 'lib/taka/dom/html/anchor_element.rb', line 21

def focus
  # also does nothing
end

#nameObject



5
6
7
# File 'lib/taka/dom/html/anchor_element.rb', line 5

def name
  self['name']
end

#tabIndexObject



9
10
11
# File 'lib/taka/dom/html/anchor_element.rb', line 9

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

#typeObject



13
14
15
# File 'lib/taka/dom/html/anchor_element.rb', line 13

def type
  self['type']
end