@theredhead — Frontend Library - v1.0.0
    Preparing search index...

    Interface OpenModalConfig<T>

    Configuration object passed to ModalService.openModal.

    interface OpenModalConfig<T> {
        ariaLabel?: string;
        closeOnBackdropClick?: boolean;
        closeOnEscape?: boolean;
        component: Type<T>;
        inputs?: Record<string, unknown>;
        outputs?: Record<string, (event: any) => void>;
    }

    Type Parameters

    • T
    Index

    Properties

    ariaLabel?: string

    Accessible label applied to the <dialog> element.

    closeOnBackdropClick?: boolean

    Whether clicking the backdrop closes the dialog.

    true
    
    closeOnEscape?: boolean

    Whether pressing Escape closes the dialog.

    true
    
    component: Type<T>

    The standalone component class to render inside the dialog.

    inputs?: Record<string, unknown>

    Input values set on the component via ComponentRef.setInput().

    outputs?: Record<string, (event: any) => void>

    Map of output property names to handler callbacks.

    Works with both signal output() and legacy EventEmitter outputs.