Current section

Files

Jump to
noora docs components filteroption.md
Raw

docs/components/filteroption.md

<!-- Generated by scripts/generate-web-components.js. Do not edit directly. -->
# FilterOption
Describes one allowed value for a filter definition.
```html
<noora-filter-option value="active">Active</noora-filter-option>
```
## Attributes
| Attribute | Type or allowed values | Default | Description |
| --- | --- | --- | --- |
| `value` | `string` | `""` | Sets the option value. |
| `label` | `string` | `""` | Sets the option label instead of using text content. |
## Slots
| Slot | Description |
| --- | --- |
| `default` | The option label. |
## Option
Describe an allowed filter value.
```html
<noora-filter-option value="active">Active</noora-filter-option>
```