Class Celerity::Button
In: lib/celerity/elements/button.rb
Parent: InputElement

Input: Button

Class representing button elements.

This class covers both button elements and input elements with type submit|reset|image|button.

Methods

locate  

Constants

TAGS = [ Identifier.new('button'), Identifier.new('input', :type => %w[submit reset image button]) ]
ATTRIBUTES = ATTRIBUTES | [ :accesskey, :disabled, :ismap, :onblur, :onfocus, :src, :tabindex, :type, :usemap, ]   Attribute list is a little weird due to this class covering both <button> and <input type="submit|reset|image|button" />
DEFAULT_HOW = :value

Public Instance methods

@api private

[Validate]