Expand description
<Sequence> component — time-slices a sub-tree within a composition.
Equivalent to Remotion’s <Sequence>.
A Sequence starts rendering its children at frame from, and optionally
stops after duration_in_frames. Children see a local frame that starts at
0 when the sequence begins.
§Example
ⓘ
use dioxuscut_core::Sequence;
fn MyVideo() -> Element {
rsx! {
// First 60 frames: title card
Sequence { from: 0, duration_in_frames: 60,
TitleCard {}
}
// Frames 60+: main content
Sequence { from: 60,
MainContent {}
}
}
}Structs§
- Sequence
Props - Props for the
<Sequence>component.
Enums§
- Sequence
Layout - Layout mode for the sequence container div.
Functions§
- Sequence
- A time-sliced segment of a composition.