monks/view_transition_name
The view-transition-name CSS property specifies the view transition snapshot that selected elements will participate in. This enables you to animate those elements separately from the rest of the page, which uses the default cross-fade animation during a view transition. You can then define custom animation styles for these elements.
Values
pub const none: #(String, String)
- : The selected element will not participate in a separate snapshot, unless it has a parent element with a
view-transition-nameset, in which case it will be snapshotted as part of that element.
pub fn raw(value: String) -> #(String, String)
Enter a raw string value for view-transition-name
pub const revert_layer: #(String, String)