Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(hv-navigator): Support for behaviors with on-event trigger #946

Merged
merged 2 commits into from
Sep 30, 2024

Conversation

flochtililoch
Copy link
Collaborator

Add the ability to install event listener on the <navigator> tag, for example to allow reloading the navigator document upon certain event occurring.

flochtililoch added 2 commits September 27, 2024 11:49
Allow adding event listeners via <behavior trigger="on-event" /> to the `<navigator>` tag. This is used to allow reloading a navigator from a event for example.
@flochtililoch flochtililoch merged commit 84f7b82 into master Sep 30, 2024
5 checks passed
@flochtililoch flochtililoch deleted the florent/hv-navigator-event branch September 30, 2024 16:07
}

componentWillUnmout = () => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a typo on the function name here.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolved in #955

hgray-instawork added a commit that referenced this pull request Oct 8, 2024
Resolve typo in function name

Relates to:
#946 (review)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Bug Fixes**
- Corrected the spelling of the `componentWillUnmount` method in the
`HvNavigator` class to ensure proper functionality upon component
unmounting.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
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.

3 participants