Sorry, but you either have no stories or none are selected somehow.
If the problem persists, check the browser console, or the terminal you've run Storybook from.
The component failed to render properly, likely due to a configuration issue in Storybook. Here are some common causes and how you can address them:
import { IDAccordionModule, IDAccordionComponent } from "@inera/ids-angular/components/accordion"; // Optional imports import { IDCardModule } from "@inera/ids-angular/components/card";
<id-accordion>
will render an accordion section and hide all the contents inside it.
Name | Description | Default | Control |
---|---|---|---|
headline | string | - | |
Properties | |||
expanded | Sets initial expanded state. boolean | false | |
headlinesize | Set desired size on the parent accordion. "xs""s""m" | "m" | |
lean | Removes the borders and some padding. Is set automatically if the accordion is placed inside a card boolean | false | |
level | Nested children will get level 2 automatically. 12 | 1 | - |
outputs | |||
expandedChange | EventEmitter<boolean> | new EventEmitter<boolean>() | |
onClosed | EventEmitter<Event> | new EventEmitter() | |
onExpanded | EventEmitter<Event> | new EventEmitter() | |
slots | |||
For content | "" | ||
headline | Headline such as h2, h3 etc. |
No action required.