Data display
Checklist
Two thin rows that carry an audit trail: step for what was satisfied, bp for how a total was reached.
import { EcoChecklist } from "vue-ecosphere"
A mark scheme, one step per criterion
Moment of inertia stated correctly · ½MR²1 / 1
Rolling condition applied · a = Rα1 / 1
Friction force derived from torque balance0 / 2
Numerical answer with units1 / 1
A readiness check
One step per prerequisite: the same question — what did and did not pass.
Class teacher assigned
Home room mapped
Timetable validated
Register not yet opened
Breakdown under a total
Section A · multiple choice10 × 1Remember10
Section B · short answer6 × 3Understand18
Section C · long answer4 × 5Apply20
API
| Name | Type | Default | Description |
|---|---|---|---|
steps | EcoChecklistStep[] | — | { label, met?, score? }. met: false renders step--miss with a cross: the glyph differs, not only the colour. |
parts | EcoBreakdownPart[] | — | { label, formula?, tag?, value }: the bp rows under a total. Showing 10 × 1 beside the 10 makes the figure checkable by hand. |
default slot | — | — | Extra rows after the generated ones. |