Perseus
    Preparing search index...

    User input for the NumberLine widget.

    type PerseusNumberLineUserInput = {
        numDivisions: number;
        numLinePosition: number;
        rel: Relationship | "eq";
    }
    Index

    Properties

    numDivisions: number

    The number of tick-mark divisions the learner has set. Validated against the rubric's divisionRange when isTickCtrl is enabled.

    numLinePosition: number

    The actual numeric axis value where the learner placed the point (e.g. 3.5 on a [0, 10] number line). Clamped to the rubric's range and snapped to the nearest tick increment.

    rel: Relationship | "eq"

    The inequality relationship selected by the learner (e.g. "lt", "gt", "le", "ge", or "eq" for a standard point).