Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 663 Bytes

stack.md

File metadata and controls

47 lines (30 loc) · 663 Bytes

Stack

Shows a single child at a time.

Importing

<script src="https://cdn.jsdelivr.net/npm/rainforest-web-components@latest/components/stack.js" type="module"></script>

Examples

<rf-stack>
  <p>One</p>
  <p>Two</p>
  <p>Three</p>            
</rf-stack>

Slots

Name Description
(default) Children elements to be stacked.

Attributes

Name Type Description Values Default Reflects
hidden boolean Hides that nonsense. true | false false

Events

None

Methods

None

Parts

None

Dependencies

None