4.0.7 • Published 5 years ago
@forter/collapse v4.0.7
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
Property | Attribute | Type | Default | Description |
---|---|---|---|---|
container | HTMLElement | The container element | ||
contents | HTMLElement | The contents element | ||
horizontal | horizontal | boolean | false | If the collapse opens horizontally |
opened | opened | void |
Slots
Name | Description |
---|---|
collapsible content |
CSS Custom Properties
Property | Description |
---|---|
--fc-collapse-animation-timing | animation timing for the collapse. default: 0.3s |
--fc-collapse-container-overflow | container'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