• Adds mousedown event to a fabric checkbox to update the state.

    Parameters

    • fabricObj: Object

      The fabric object to attach the event to.

    • value: ColorSchemeEnum | ScaleTypeEnum | ScoreTypeEnum

      The value to set.

    • inputEnum: string

      The type of input (ColorSchemeEnum, ScaleTypeEnum, or ScoreTypeEnum).

    • _this: any

      The context (VisualOutput or FunctionalPredictions).

    Returns void