Class: Maglove::Widgets::Heading
- Defined in:
- lib/maglove/widgets/heading.rb
Defined Under Namespace
Modules: Helpers
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#initialize, #typeloft_widget_options
Constructor Details
This class inherits a constructor from Maglove::Widgets::Base
Instance Method Details
#defaults ⇒ Object
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/maglove/widgets/heading.rb', line 8 def defaults { type: "h1", style: "default", align: "left", margin_bottom: "1em", line_height: "", letter_spacing: "" } end |
#identifier ⇒ Object
4 5 6 |
# File 'lib/maglove/widgets/heading.rb', line 4 def identifier "heading" end |