Skip to main content

Crate oxframe_components

Crate oxframe_components 

Source
Expand description

Blocks for explainer videos. Each one is added like any other node, takes its look from the project theme, and speaks three words: enter, next and exit.

ⓘ
let steps = view.add(BulletList::new(["Take the middle", "Compare", "Drop half"]));
steps.enter().await;
for _ in 0..3 { steps.next().await; }

Structs§

BulletList
Items appear one per next, after enter shows the stack.
BulletListBuilder
Builder for BulletList.
Callout
A caption above target, with an arrow pointing down at it. next reveals the caption; the arrow comes in with enter.
CalloutBuilder
Builder for Callout.
ChapterMarker
A short label pinned to the top safe area.
ChapterMarkerBuilder
Builder for ChapterMarker.
CodeExplainer
Code with a caption. enter shows the code. Each next focuses one step and sets the caption.
CodeExplainerBuilder
Builder for CodeExplainer.
EndCard
Closing card. next reveals the note.
EndCardBuilder
Builder for EndCard.
FlowDiagram
Nodes and arrows. The diagram places itself: left to right, or top to bottom after down. next highlights the next node.
FlowDiagramBuilder
Builder for FlowDiagram.
LowerThird
Name and role pinned to the bottom safe area. next reveals the role.
LowerThirdBuilder
Builder for LowerThird.
TitleCard
A centered title. enter shows the card and the title, next shows the subtitle.
TitleCardBuilder
Builder for TitleCard.