Adds mousedown event to a fabric checkbox to update the state.
The fabric object to attach the event to.
The value to set.
The type of input (ColorSchemeEnum, ScaleTypeEnum, or ScoreTypeEnum).
The context (VisualOutput or FunctionalPredictions).
Adds mousedown event to a fabric checkbox to update the state.