Formwright
    Preparing search index...
    interface DatePickerControlSignature {
        Args: ControlWiring<unknown> & object & Pick<RangeArgs, "min" | "max"> & {
            dateFormat?: DateTimeFormatOptions;
            disabledDates?: (string | Date)[];
            locale?: string;
            maxRange?: number;
            minRange?: number;
            renderInPlace?: boolean;
            startOfWeek?: number;
            storeDate?: boolean;
        };
        Element: HTMLDivElement;
    }
    Index
    Args: ControlWiring<unknown> & object & Pick<RangeArgs, "min" | "max"> & {
        dateFormat?: DateTimeFormatOptions;
        disabledDates?: (string | Date)[];
        locale?: string;
        maxRange?: number;
        minRange?: number;
        renderInPlace?: boolean;
        startOfWeek?: number;
        storeDate?: boolean;
    }

    Type Declaration

    • OptionaldateFormat?: DateTimeFormatOptions

      Intl.DateTimeFormat options for the trigger's text. Default { dateStyle: 'medium' }.

    • OptionaldisabledDates?: (string | Date)[]

      Days that can't be chosen: dates, or English weekday names ('Sat', 'Sun').

    • Optionallocale?: string

      Formats the trigger's text and names the weekdays. Default the browser's locale.

    • OptionalmaxRange?: number
    • OptionalminRange?: number

      date-range: the shortest and longest range, in days. Default: no limits.

    • OptionalrenderInPlace?: boolean

      Render the dropdown in place rather than in the wormhole. Forced in a callout.

    • OptionalstartOfWeek?: number

      First day of the week, 0 (Sunday) to 6. Default: the locale's.

    • OptionalstoreDate?: boolean

      Store Dates rather than ISO YYYY-MM-DD strings.

    Element: HTMLDivElement

    A wrapper around the trigger and its dropdown, carrying the control's hooks and attributes.