Type Alias PopUpOptions

PopUpOptions: {
    actions?: PopUpAction[];
    centered?: boolean;
    closeBtn?: boolean;
    content: Content;
    cssClass?: string;
    destroyOnClose?: boolean;
    footerContent?: Content;
    onClose?: () => void;
    title?: Content;
    titleCloseBtn?: boolean;
    trackingId?: string;
    width?: string | number;
}

Represents the options for a PopUp.

Type declaration

  • Optionalactions?: PopUpAction[]

    If true, the modal will be shown.

  • Optionalcentered?: boolean

    If true, the modal will be centered vertically.

  • OptionalcloseBtn?: boolean

    If true, the modal will have a close button in the footer.

  • content: Content

    The content of the modal.

  • OptionalcssClass?: string

    The class to apply to the modal.

  • OptionaldestroyOnClose?: boolean

    If true, the modal will be destroyed when it is closed.

  • OptionalfooterContent?: Content

    Footer content of the modal.

  • OptionalonClose?: () => void

    Function to call when the modal is closed.

  • Optionaltitle?: Content

    The title of the modal.

  • OptionaltitleCloseBtn?: boolean

    If true, the modal will have a close button in the title bar.

  • OptionaltrackingId?: string

    The tracking ID for the modal.

  • Optionalwidth?: string | number

    The width of the modal.