view-transitions-mock is a non-visual polyfill for the Same-Document View Transitions API, created to eliminate the need for defensive browser-support checks in your code. It implements the full JavaScript API surface of the View Transition spec (including ViewTransition promises, transitionRoot, activeViewTransition, and View
Table of contents
The Challenge: Writing Future-Proof CodeThe Solution: view-transitions-mockGetting StartedTweaking the registrationSee it in Action1 Comment
Sort: