The hidden
DOM attribute that will be enabled if the component is fully
collapsed with no height and padding but still rendered within the DOM.
A ref that must be passed to the element that is triggering a CSS
transition change. An error will be thrown if the transition starts, but
the ref is still null
or the ref
was passed to a component instance
instead of a DOM node.
A conditional style that will provide the required max-height
,
padding-top
, padding-bottom
, and transition-duration
styles required
for the collapse transition.
Generated using TypeDoc
The class name to apply that will allow for the element to transition between collapsed states.