@wq2/ui
    Preparing search index...

    Interface IPanelOptions

    interface IPanelOptions {
        className?: string;
        content?: VChild;
        shadow?: boolean;
        style?: string | ((id: string) => string);
        theme?: string;
    }
    Index

    Properties

    className?: string

    Additional className for the toast root element

    content?: VChild

    Initial DOM content of panel body.

    shadow?: boolean

    Whether to create the toast with ShadowDOM. Note that CSS may not work with ShadowDOM in pages with strict CSP limits.

    style?: string | ((id: string) => string)

    Additional CSS for the toast. :host can be used to match the host element.

    theme?: string

    Apply built-in themes, default as light. Available values are light and dark, any other value will disable the theme CSS.