iink-ts - v4.0.0
    Preparing search index...

    Type Alias TModalConfig

    type TModalConfig = {
        buttons?: TButtonElConfig[];
        container?: HTMLElement;
        customContent?: HTMLElement;
        fields: TModalField[];
        mobileBreakpoint?: number;
        onClose?: () => void;
        title: string;
        type?: TModalType;
    }
    Index
    buttons?: TButtonElConfig[]
    container?: HTMLElement

    Element to mount the modal into. Defaults to document.body (viewport-fixed).

    customContent?: HTMLElement
    fields: TModalField[]
    mobileBreakpoint?: number

    Container width (px) below which the modal opens in fullscreen. Defaults to 480.

    onClose?: () => void

    Called when the modal closes (close button, backdrop click, or timeout).

    title: string
    type?: TModalType