Skip to main content

Module learn_roadmap

Module learn_roadmap 

Source
Expand description

The Learn roadmap: the course as one route, era by era, a stop for every module and, inside the open module, a stop for every lesson.

Each module is a native disclosure: the module holding the open lesson starts unfolded, the rest folded, and any can be unfolded by hand. Every lesson is a button whatever its state: nothing on the route is locked. A finished lesson carries data-done="true", the open one aria-current="step". Each module’s element carries the module id, where /learn#<module> and the site nav’s links land.

Re-exports§

pub use LearnRoadmap_completions::Component::LearnRoadmap;

Structs§

LearnRoadmapProps
Properties for the LearnRoadmap component.

Functions§

LearnRoadmap
The route through every era, module and lesson. open is the lesson on screen, done the lessons finished; a click on a lesson calls on_open with its id.