-
-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: resolve navigation page on navigation event (#624)
Allow passing in `resolveOnEvent` (`navigatingTo` or `navigatedTo`) to `$navigateTo` options. When passed, an event listener will be attached to the page element, and whenever it fires - the Promise returned from `$navigateTo` will be resolved with the target `Page`. Useful for for triggering actions after a navigation is complete.
- Loading branch information
1 parent
099941f
commit 787d1a5
Showing
2 changed files
with
21 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters