x4js - v2.2.49
    Preparing search index...

    Interface DateProps

    Date picker input properties.

    interface DateProps {
        attrs?: Record<string, string | number | boolean>;
        autofocus?: boolean;
        change?: EventCallback<EvChange>;
        cls?: string;
        content?: ComponentContent;
        disabled?: boolean;
        dom_events?: GlobalDOMEvents;
        existingDOM?: HTMLElement;
        flex?: number | boolean;
        focus?: EventCallback<EvFocus>;
        height?: string | number;
        hidden?: boolean;
        id?: string;
        name?: string;
        ns?: string;
        placeholder?: string;
        readonly?: boolean;
        ref?: RefType<any>;
        required?: boolean;
        style?: Partial<CSSStyleDeclaration>;
        tag?: string;
        tooltip?: string;
        type: "date";
        value?: string | Date;
        width?: string | number;
    }

    Hierarchy (View Summary)

    Index
    attrs?: Record<string, string | number | boolean>

    HTML attributes.

    autofocus?: boolean

    Automatically focus the input on page load.

    Fired when the input value changes.

    cls?: string

    Additional CSS classes.

    Child content (components, strings, or HTML).

    disabled?: boolean

    Component is initialy disabled.

    dom_events?: GlobalDOMEvents

    DOM event listeners.

    existingDOM?: HTMLElement

    Existing DOM element to wrap.

    flex?: number | boolean

    Enables flex layout (boolean) or sets flex-grow (number).

    Fired when the input receives/loses focus.

    height?: string | number

    Height (px or string like "50%").

    hidden?: boolean

    Component is initialy hidden.

    id?: string

    Element ID.

    name?: string

    Input field name. required if you want to use form getValues/setValues

    ns?: string

    Namespace for SVG/MathML elements.

    placeholder?: string

    Placeholder text displayed when empty.

    readonly?: boolean

    Makes the input read-only.

    ref?: RefType<any>

    Reference to the component instance.

    required?: boolean

    Marks the input as required.

    style?: Partial<CSSStyleDeclaration>

    Inline CSS styles.

    tag?: string

    HTML tag name (default: "div").

    tooltip?: string

    Tooltip text.

    type: "date"
    value?: string | Date

    Current date value (Date object or ISO string).

    width?: string | number

    Width (px or string like "50%" or "3em").