Class: Maglove::Widget::Button
- Defined in:
- lib/maglove/widget/button.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from V2
Methods inherited from Base
#initialize, #render, #style_string, #widget_options
Constructor Details
This class inherits a constructor from Maglove::Widget::Base
Instance Method Details
#defaults ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/maglove/widget/button.rb', line 8 def defaults { background_color: "#e6e6e6", border_radius: "4px", border_width: "1px", border_style: "solid", media: false, size: "btn-lg", style: "primary", type: "btn-fit" } end |
#identifier ⇒ Object
4 5 6 |
# File 'lib/maglove/widget/button.rb', line 4 def identifier "button" end |