class Maglove::Widgets::Heading

Public Instance Methods

defaults() click to toggle source
# File lib/maglove/widgets/heading.rb, line 8
def defaults
  {
    type: "h1",
    align: "left",
    line_height: "1.3",
    padding: "0 0 8 0"
  }
end
identifier() click to toggle source
# File lib/maglove/widgets/heading.rb, line 4
def identifier
  "heading"
end
template() { || ... } click to toggle source
# File lib/maglove/widgets/heading.rb, line 17
def template(&block)
  yield if block
end