lib/celerity/elements/button.rb in walidhalabi-celerity-0.0.6.12 vs lib/celerity/elements/button.rb in walidhalabi-celerity-0.0.6.13
- old
+ new
@@ -1,10 +1,12 @@
module Celerity
#
# Input: Button
#
- # Class representing button elements
+ # Class representing button elements.
+ #
+ # This class covers both <button> and <input type="submit|reset|image|button" /> elements.
#
class Button < InputElement
TAGS = [ Identifier.new('button'),
Identifier.new('input', :type => %w[submit reset image button]) ]
\ No newline at end of file