@mendix/extensions-api - v0.2.4
    Preparing search index...

    Type Alias NotificationInfo

    Represents a notification popup that can be shown to the user.

    type NotificationInfo = {
        displayDurationInSeconds?: number;
        icon?: string | IconRelativePath;
        message: string;
        title: string;
    }
    Index

    Properties

    displayDurationInSeconds?: number

    The optional duration in seconds that the popup will remain visible. If not provided, the notification will remain visible until the user closes it themselves.

    icon?: string | IconRelativePath

    The optional icon for the notification. If specified, it is either an image encoded as data URL string, or a path relative to the location where the given component is located. The component name should follow the same conventions as UISpec in case of tabs and dialogs.

    message: string

    The main message content of the notification.

    title: string

    The title of the notification.