x4js - v2.2.49
    Preparing search index...

    Interface ImageProps

    Base properties for all components.

    interface ImageProps {
        accept?: string;
        alt?: string;
        attrs?: Record<string, string | number | boolean>;
        candrop?: boolean;
        change?: EventCallback<EvDropChange>;
        clear?: EventCallback<CoreEvent>;
        cls?: string;
        content?: ComponentContent;
        disabled?: boolean;
        dom_events?: GlobalDOMEvents;
        draggable?: boolean;
        existingDOM?: HTMLElement;
        fit?: "fill" | "contain" | "cover" | "scale-down";
        flex?: number | boolean;
        height?: string | number;
        hidden?: boolean;
        id?: string;
        lazy?: boolean;
        ns?: string;
        position?: string;
        ref?: RefType<any>;
        src: string;
        style?: Partial<CSSStyleDeclaration>;
        tag?: string;
        tooltip?: string;
        width?: string | number;
    }

    Hierarchy (View Summary)

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

    HTML attributes.

    candrop?: boolean
    cls?: string

    Additional CSS classes.

    Child content (components, strings, or HTML).

    disabled?: boolean

    Component is initialy disabled.

    dom_events?: GlobalDOMEvents

    DOM event listeners.

    draggable?: boolean
    existingDOM?: HTMLElement

    Existing DOM element to wrap.

    fit?: "fill" | "contain" | "cover" | "scale-down"
    flex?: number | boolean

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

    height?: string | number

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

    hidden?: boolean

    Component is initialy hidden.

    id?: string

    Element ID.

    lazy?: boolean
    ns?: string

    Namespace for SVG/MathML elements.

    position?: string
    ref?: RefType<any>

    Reference to the component instance.

    src: string
    style?: Partial<CSSStyleDeclaration>

    Inline CSS styles.

    tag?: string

    HTML tag name (default: "div").

    tooltip?: string

    Tooltip text.

    width?: string | number

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