updated post to reflect prior change
This commit is contained in:
parent
80b2e2e5b2
commit
8e35a4e6af
1 changed files with 4 additions and 0 deletions
|
|
@ -132,6 +132,10 @@ Default view transition via
|
|||
|
||||
Makes this technique slightly better visually and so I added it to the demo. Although not sure if/how I'd add it to a real world application which doesn't have a pretty robust system for view transition setup.
|
||||
|
||||
### Update 2: Made js button also use view transitions
|
||||
|
||||
via: [document.startViewTransition](https://developer.mozilla.org/en-US/docs/Web/API/Document/startViewTransition)
|
||||
|
||||
## Why Don't I Have a Light/Dark Toggle Button on This Blog?
|
||||
|
||||
Because doing it correctly is more effort than it's worth, I don't want to do it incorrectly, and for most people their system preference will already match what they want.
|
||||
|
|
|
|||
Loading…
Reference in a new issue