Skip to content

Release 1.5.0

Latest

Choose a tag to compare

@yeonhub yeonhub released this 16 Mar 02:39
dd52a8f
  • Add onExpand callback that triggers when sheet is fully expanded
  • Add onCollapse callback that triggers when sheet is fully collapsed
  • Add onChange callback that provides current expansion state
  • Update documentation with new callback properties
Property Default Value Type Description
onExpand undefined function A callback function that is triggered when the sheet is fully expanded (at bottom position). Useful for triggering actions when the sheet expands.
onCollapse undefined function A callback function that is triggered when the sheet is fully collapsed (at top position). Useful for triggering actions when the sheet collapses.
onChange undefined function A callback function that receives the current expansion state (isExpanded) as a parameter. This is called whenever the sheet transitions between expanded and collapsed states.