add comment button form element
parent
8b346642ae
commit
a70e6eae90
|
@ -1,3 +1,5 @@
|
|||
# This class represents button related html element.
|
||||
# <button>, and <input> whose type is button, reset, image, submit.
|
||||
class Mechanize::FormContent::Button < Mechanize::FormContent::Field
|
||||
getter form_node : Node | Lexbor::Node
|
||||
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
# This class represents <input type="image">
|
||||
class Mechanize::FormContent::ImageButton < Mechanize::FormContent::Button
|
||||
end
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
# This class represents <input type="reset">
|
||||
class Mechanize::FormContent::ResetButton < Mechanize::FormContent::Button
|
||||
end
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
# This class represents <input type="submit">
|
||||
class Mechanize::FormContent::SubmitButton < Mechanize::FormContent::Button
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue