Skip to content

Events

EventsDescription
onOpen(optional) Is called when fully opened or closed. Returns true or false depending on the state.
onAnimationStart(optional) Is called when animation has started.
onAnimationEnd(optional) Is called when animation is done and the full height is reached.
onInit(optional) Is called once before mounting the component (useLayoutEffect). Returns the instance of the internal animation class.