4.0.7 • Published 5 years ago

@forter/collapse v4.0.7

Weekly downloads
30
License
Apache-2.0
Repository
github
Last release
5 years ago

fc-collapse

Provides a collapsable container

Usage

<script>
   import '@forter/collapse';
</script>

<fc-collapse>
<fc-button slot="toggle" \@click="${toggle}">Toggle</fc-button>
    <ul>
      <li>Vertically</li>
      <li>Collapsed</li>
      <li>Content</li>
    </ul>
</fc-collapse>

Properties

PropertyAttributeTypeDefaultDescription
containerHTMLElementThe container element
contentsHTMLElementThe contents element
horizontalhorizontalbooleanfalseIf the collapse opens horizontally
openedopenedvoid

Slots

NameDescription
collapsible content

CSS Custom Properties

PropertyDescription
--fc-collapse-animation-timinganimation timing for the collapse. default: 0.3s
--fc-collapse-container-overflowcontainer's overflow. default: hidden
4.0.7

5 years ago

4.0.6

5 years ago

4.0.5

5 years ago

4.0.4

5 years ago

4.0.3

5 years ago

4.0.2

5 years ago

4.0.1

5 years ago

4.0.0

5 years ago

3.0.4

5 years ago

3.0.3

5 years ago

3.0.2

5 years ago

3.0.1

5 years ago

3.0.0

5 years ago

2.0.5

5 years ago

2.0.4

5 years ago

2.0.3

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.0.1-beta.312

6 years ago

1.0.1-beta.305

6 years ago

1.0.1-beta.292

6 years ago

1.0.1-beta.268

6 years ago

1.0.1-beta.262

6 years ago

1.0.1-beta.253

6 years ago

1.0.1-beta.247

6 years ago

1.0.1-beta.245

6 years ago

1.0.1-beta.229

6 years ago

1.0.0

6 years ago

1.0.0-alpha.0

6 years ago