Aside

Component Documentation

matestack core component: Aside

Show specs

The HTML <aside> tag implemented in ruby.

Parameters

This component can take 2 optional configuration params and optional content.

# id (optional)

Expects a string with all ids the aside tag should have.

# class (optional)

Expects a string with all classes the aside tag should have.

Example 1

aside id: "foo", class: "bar" do
  paragraph text: "This is some text"
end

returns

<aside id="foo" class="bar">
  <p>This is some text</p>
</aside>