Skip to content

Commit

Permalink
Add view-transition as allowed name for meta-tag.
Browse files Browse the repository at this point in the history
It's quite new, but helps a lot to showcase MPAs with smooth transitions.

https://daverupert.com/2023/05/getting-started-view-transitions/

Current workaround is to use a template literal:

{`<meta name="view-transition" content="same-origin" />`}
  • Loading branch information
jablonski authored and ncpa0cpl committed Oct 23, 2023
1 parent a9d4934 commit e7d21b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/jsx/prop-types/meta-jsx-props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ declare global {
| "description"
| "generator"
| "keywords"
| "viewport";
| "viewport"
| "view-transition";
}
}
}
Expand Down

0 comments on commit e7d21b4

Please sign in to comment.