All notable changes to this project will be documented in this file. See commit-and-tag-version for commit guidelines.
- update conventional-changelog-aaron-preset (5b6b7379)
- support nuxt as a nuxt module
vue-view-transitions/nuxt
(f298e0e0)
- fix an error when pass a value of wrong type and improve error message's readability (839340e1)
- add tests for the plugin (cd26c711)
- use aaron-preset to regenerate the whole CHANGELOG.md (323cf1c3)
- update README and keywords (1a6ce423)
- provides a shorthand
v-trans
forv-view-transition-name
(4bb3f69e)
- should execute the callback of
startViewTransition
as well when running in unsupported browsers (1b190965)
- return
ViewTransition
object with default values when browser does not support view transitions api (a47d5ade)
- should not access
capturedPromise
before initialization (abf2cb97)
-
add
captured
property toViewTransition
object (2648719b)captured
property is promise resolved when user agent finishes capturing images of the current state
startViewTransition
no longer return a promise. Previous:Now:await startViewTransition()
const viewTransition = startViewTransition() await viewTransition.captured
-
startViewTransition
accepts an optional callback (cf27ddcb)startViewTransition
accepts an optional callback, which returns a promise. the view transition starts once the promise is resolved.viewTransition.updateCallbackDone
is provided in the returnedViewTransition
object, which is the same as the nativeViewTransition
object
- fix an error when using object syntax (0edbb633)
- support passing an object for dynamic toggling (f80358ce)
- directive callback should be called in udpate hook (b3e50e95)
- trigger github action on tag push (0195dca9)
- missing export (29ae7d9a)
- correct information in LICENSE (b63f8f1e)
- fix type errors (66f749a5)
- support vue 2.6 and above (68f40d90)
- update README (7329dc3e)
- fix incorrect exports field (afabf87d)
- add
types
to package.json to fix missing type declarations error (81fced57)
- update repository in package.json (5ab615d0)
- ViewTransitionsPlugin and startViewTransition (df1ec5f9)
- update README (4cce2edb)