@wq2/ui
    Preparing search index...

    Interface IPanelResult

    interface IPanelResult {
        addStyle: (css: string) => void;
        append: (...args: VChild[]) => void;
        body: HTMLElement;
        clear: () => void;
        dispose: () => void;
        hide: () => void;
        host: HTMLElement;
        id?: string;
        root: HTMLElement;
        setContent: (...args: VChild[]) => void;
        setMovable: (toggle: boolean, options?: Partial<MovableOptions>) => void;
        shadow: boolean;
        show: () => void;
        tag: string;
        wrapper: HTMLElement;
    }

    Hierarchy (View Summary)

    Index

    Properties

    addStyle: (css: string) => void
    append: (...args: VChild[]) => void

    Append elements to the panel body, shorthand for panel.body.append(...).

    body: HTMLElement

    The container of contents. It is recommended to style your panel box here.

    clear: () => void

    Empty the panel body.

    dispose: () => void
    hide: () => void
    host: HTMLElement
    id?: string
    root: HTMLElement
    setContent: (...args: VChild[]) => void

    Replace the content of panel body by clearing it first and then append.

    setMovable: (toggle: boolean, options?: Partial<MovableOptions>) => void

    Whether this panel can be moved by mouse dragging.

    shadow: boolean
    show: () => void
    tag: string
    wrapper: HTMLElement

    The wrapper element that should be positioned. It should be as simple as possible and let the body to style itself.