exclusive |
boolean
|
Only allow one section open at a time. |
on |
string
|
Event on title that will cause accordion to
open. Commonly set to "click". |
animateChildren |
boolean
|
Whether child content opacity
should be animated. Note: may cause performance issues with many child
elements. |
closeNested |
boolean
|
Close open nested accordion content
when an element closes. |
collapsible |
boolean
|
Allow active sections to collapse. |
duration |
number
|
Duration in milliseconds of the opening
animation. |
onOpening |
function
|
Callback function before an element
opens. Takes the active content as an argument. |
onOpen |
function
|
Callback function after an element is
open. Takes the active content as an argument. |
onClosing |
function
|
Callback function before an element
closes. Takes the active content as an argument. |
onClose |
function
|
Callback function after an element is
closed. Takes the active content as an argument. |
onChanging |
function
|
Callback function before an element
opens or closes. Takes the active content as an argument. |
onChange |
function
|
Callback function when an element opens
or closes. Takes the active content as an argument. |
styled |
boolean
|
Whether to use Semantic UI styles for the
accordion. |
inverted |
boolean
|
Whether to use an inverted color scheme
for the accordion (dark background with light text). |
fluid |
boolean
|
Whether the accordion should take up the
full width of its container. |