Perseus
    Preparing search index...
    Props: Partial<React.ContextType<typeof Dependencies.DependenciesContext>> & {
        alwaysUpdate?: boolean;
        apiOptions?: APIOptions;
        content: PerseusRenderer["content"];
        findExternalWidgets: (criterion: FilterCriterion) => any;
        handleUserInput?: HandleUserInputCallback;
        highlightEmptyWidgets?: boolean;
        images: PerseusRenderer["images"];
        initializeUserInput?: InitializeUserInputCallback;
        inline?: boolean;
        keypadElement?: KeypadAPI | null;
        legacyPerseusLint?: ReadonlyArray<string>;
        linterContext: LinterContextProps;
        onRender: (node?: any) => void;
        problemNum?: number;
        reviewMode?: boolean | null;
        showSolutions?: ShowSolutions;
        strings: PerseusStrings;
        userInput?: UserInputMap;
        widgets: PerseusRenderer["widgets"];
    }

    Type Declaration

    • OptionalalwaysUpdate?: boolean
    • OptionalapiOptions?: APIOptions
    • content: PerseusRenderer["content"]
    • findExternalWidgets: (criterion: FilterCriterion) => any
    • OptionalhandleUserInput?: HandleUserInputCallback
    • OptionalhighlightEmptyWidgets?: boolean
    • images: PerseusRenderer["images"]
    • OptionalinitializeUserInput?: InitializeUserInputCallback
    • Optionalinline?: boolean

      Skip adding paragraph class

    • OptionalkeypadElement?: KeypadAPI | null
    • OptionallegacyPerseusLint?: ReadonlyArray<string>
    • linterContext: LinterContextProps

      If linterContext.highlightLint is true, then content will be passed to the linter and any warnings will be highlighted in the rendered output.

    • onRender: (node?: any) => void
    • OptionalproblemNum?: number
    • OptionalreviewMode?: boolean | null
    • OptionalshowSolutions?: ShowSolutions

      If set to "all", all rationales or solutions will be shown. If set to "selected", soltions will only be shown for selected choices. If set to "none", solutions will not be shown-- equivalent to undefined.

    • strings: PerseusStrings
    • OptionaluserInput?: UserInputMap
    • widgets: PerseusRenderer["widgets"]