Skip to main content

TimelineName

Type Alias TimelineName 

Source
pub type TimelineName = TreeScoped<TimelineIdent>;
Expand description

The typedef of scroll-timeline-name or view-timeline-name.

https://drafts.csswg.org/scroll-animations-1/#scroll-timeline-name https://drafts.csswg.org/scroll-animations-1/#view-timeline-name

Aliased Type§

#[repr(C)]
pub struct TimelineName { pub value: TimelineIdent, pub scope: CascadeLevel, }

Fields§

§value: TimelineIdent

The scoped value.

§scope: CascadeLevel

The cascade level in the shadow tree hierarchy.

Implementations§

Source§

impl TimelineName

Source

pub fn none() -> Self

Return the none value.