Class: PageBuilder::Elements::Inputs::SubmitButton

Inherits:
PageBuilder::Elements::Input show all
Defined in:
lib/pagebuilder/elements/inputs/submit_button.rb

Overview

Creates submit button nodes

Instance Method Summary collapse

Methods inherited from PageBuilder::Elements::Input

new, #type, #type=, #value, #value=

Methods inherited from Basic

#configure, #data_attributes=

Constructor Details

#initialize(*args) ⇒ SubmitButton

Returns a new instance of SubmitButton.



10
11
12
13
# File 'lib/pagebuilder/elements/inputs/submit_button.rb', line 10

def initialize(*args)
  super
  self.type = 'submit'
end