An expandable component that fills the role of an accordian
Opaque AccordionItem element that can produce msg messages
Constructs an accordian give a list of (title, content) and a message
mapper function.
The msgMapper needs to take a PF4.Accordian.Msg and transform it into
to the msg of your Elm application.
Constructs an accordion item given a title and an Element msg as content
Constructs a default state with the default behavior
The default behavior is "Single Expand".
Only a single accordion can be open at a given time.
Constructs a state with behavior of "Single Expand"
Only a single accordion can be open at a given time.
Constructs a state with behavior of "Multiple Expand"
Each accordion item clicked on will be opened. An open accordion item clicked on will close.
Opaque State representation of the Accordion.
To create a State, use one of the provided
Internal Accordion.Msg type for handling statefulness
Using the state and component's options to render as an Element msg
Stateful PF4 components will have a toMarkupFor, as an "markup for a
particular state", instead of the toMarkup used for stateless
components.
Opaque
Accordionelement that can producemsgmessages