Skip to content

feat: replace booleans in lifecycle events - #13

Merged
jsmmth merged 2 commits into
mainfrom
feat/pass-replace-options-to-functions
Oct 17, 2025
Merged

feat: replace booleans in lifecycle events#13
jsmmth merged 2 commits into
mainfrom
feat/pass-replace-options-to-functions

Conversation

@jsmmth

@jsmmth jsmmth commented Oct 17, 2025

Copy link
Copy Markdown
Owner

Added the addition of fromReplace and beingReplaced to the modal lifecycle events. This is helpful for when you want to run specific functions on dismissal functions for example only when it is not being replaced e.g. the modal still stays visible. The downside is that you'll need to update your lifecycle events to include the boolean value for them to be triggered otherwise they won't be overwritten.

@jsmmth
jsmmth merged commit 5a3950b into main Oct 17, 2025
@jsmmth
jsmmth deleted the feat/pass-replace-options-to-functions branch October 17, 2025 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant