Trilium Frontend API
    Preparing search index...

    Interface FormCheckboxProps

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

    Properties

    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.

    name?: string

    Methods

    • Parameters

      • newValue: boolean

      Returns void