mobx-sentinel API doc
    Preparing search index...

    Binding for checkbox input elements

    Key features:

    • Handles boolean states
    • Manages error states and ARIA attributes

    Implements

    • FormBinding
    Index
    onChange: ChangeEventHandler<HTMLInputElement, HTMLInputElement> = ...
    onFocus: FocusEventHandler<HTMLInputElement> = ...
    • get props(): {
          "aria-errormessage": string
          | undefined;
          "aria-invalid": boolean | undefined;
          checked: boolean;
          id: string;
          onChange: ChangeEventHandler<HTMLInputElement, HTMLInputElement>;
          onFocus: FocusEventHandler<HTMLInputElement>;
          type: "checkbox";
      }

      Binding properties which passed to the view component

      Returns {
          "aria-errormessage": string | undefined;
          "aria-invalid": boolean | undefined;
          checked: boolean;
          id: string;
          onChange: ChangeEventHandler<HTMLInputElement, HTMLInputElement>;
          onFocus: FocusEventHandler<HTMLInputElement>;
          type: "checkbox";
      }