Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

horvbalint
Copy link
Contributor

@horvbalint horvbalint commented Mar 2, 2024

πŸ”— Linked issue

#26044

❓ Type of change

  • πŸ“– Documentation (updates to the documentation, readme or JSdoc annotations)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

This is a small PR that introduces a new client lifecycle hook, which is called right after a ViewTransition object is created by the experimental view transition plugin.

Using this hook an app can obtain the transition object.

Resolves #26044

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have added tests (if possible).
  • I have updated the documentation accordingly.

Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link
Contributor

nuxt-studio bot commented Mar 2, 2024

βœ… Live Preview ready!

Name Edit Preview Latest Commit
Nuxt Docs Edit on Studio β†—οΈŽ View Live Preview 5f25dab

@horvbalint
Copy link
Contributor Author

I am not sure, how to solve the not exported interface error in a way so that it can be imported in projects using nuxt.

@danielroe danielroe changed the title feat: new lifecycle hook: 'page:view-transition:start' feat(nuxt): add page:view-transition:start hook Mar 6, 2024
@danielroe danielroe merged commit 7095048 into nuxt:main Mar 6, 2024
@github-actions github-actions bot mentioned this pull request Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide a way to obtain the ongoing ViewTransition object
4 participants