@coveo/headless
    Preparing search index...

    Interface DateFilter

    The DateFilter controller makes it possible to create a date filter.

    Example: date-filter.fn.tsx

    interface DateFilter {
        state: DateFilterState;
        clear(): void;
        disable(): void;
        enable(): void;
        setRange(range: DateFilterRange): boolean;
        subscribe(listener: () => void): Unsubscribe;
    }

    Hierarchy (View Summary)

    Index

    Methods

    Properties

    The state of the DateFilter controller.