Perseus
    Preparing search index...

    Options for the matrix widget. A grid of numeric cells to fill in.

    type PerseusMatrixWidgetOptions = {
        answers: PerseusMatrixWidgetAnswers;
        cursorPosition?: number[];
        matrixBoardSize: number[];
        prefix?: string;
        static?: boolean;
        suffix?: string;
    }
    Index

    Properties

    A data matrix representing the "correct" answers to be entered into the matrix

    cursorPosition?: number[]

    The coordinate location of the cursor position at start. default: [0, 0]

    matrixBoardSize: number[]

    The coordinate size of the matrix. Only supports 2-dimensional matrix. default: [3, 3]

    prefix?: string

    Translatable Text; Shown before the matrix

    static?: boolean

    Whether this is meant to statically display the answers (true) or be used as an input field, graded against the answers

    suffix?: string

    Translatable Text; Shown after the matrix