Skip to content

Events

Properties

PropertyTypeDescription
onOpenfunction(optional) Is called when fully opened or closed. Returns true or false depending on the state.
onAnimationStartfunction(optional) Is called when animation has started.
onAnimationEndfunction(optional) Is called when animation is done and the full height is reached.
onInitfunction(optional) Is called once before mounting the component (useLayoutEffect). Returns the instance of the internal animation class.