Trilium Frontend API
    Preparing search index...

    Interface FormCheckboxProps

    interface FormCheckboxProps {
        containerStyle?: CSSProperties;
        currentValue: boolean;
        disabled?: boolean;
        hint?: string;
        indeterminate?: boolean;
        label: ComponentChildren;
        name?: string;
        onChange(newValue: boolean): void;
    }
    Index
    containerStyle?: CSSProperties
    currentValue: boolean
    disabled?: boolean
    hint?: string

    If set, the checkbox label will be underlined and dotted, indicating a hint. When hovered, it will show the hint text.

    indeterminate?: boolean

    Shows the native mixed state (a dash), e.g. for a parent whose children are partially selected. indeterminate is a DOM property only (there is no HTML attribute), so it is applied via a ref.

    name?: string
    • Parameters

      • newValue: boolean

      Returns void