• JMap.Application.Message.display

    Adds an generic message in the application message stack for the current session. severity level should be passed (will default to "info")

    Parameters

    • message: string

      the text of the message

    • Optional options: JAppMessageOptions

      a JAppMessageOptions object

    Returns void

    Example

    const message = "The operation has failed"
    const level = "error"
    JMap.Application.Message.display(message, { duration: 5000 , severity: level})