Perseus
    Preparing search index...

    Type Alias PerseusLabelImageWidgetOptions

    Options for the label-image widget. Asks learners to label image parts.

    type PerseusLabelImageWidgetOptions = {
        choices: string[];
        hideChoicesFromInstructions: boolean;
        imageAlt: string;
        imageHeight: number;
        imageUrl: string;
        imageWidth: number;
        markers: PerseusLabelImageMarker[];
        multipleAnswers: boolean;
        static: boolean;
    }
    Index

    Properties

    choices: string[]

    Translatable Text; TeX representation of choices

    hideChoicesFromInstructions: boolean

    Do not display answer choices in instructions

    imageAlt: string

    Translatable Text; To show up in the img.alt attribute

    imageHeight: number

    The height of the image

    imageUrl: string

    The URL of the image

    imageWidth: number

    The width of the image

    A list of markers to display on the image

    multipleAnswers: boolean

    Allow multiple answers per marker

    static: boolean

    Always false. Not used for this widget