You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.