Class: WebappMessage

sync.api.WebappMessage

new WebappMessage()

A custom message sent by the server-side code.
Source:

Members

(static) CUSTOM_MESSAGE :number

The type of a Webapp custom message.
Type:
  • number
Source:

(static) SYSTEM_APPLICATION_MESSAGE :number

The type of open in system application webapp message.
Type:
  • number
Source:

message :string

The actual content of the message - you can use this to send information about the message to be displayed to the user.
Type:
  • string
Source:

title :string

The title of the message: usually displayed in the header of the notification pop-up.
Type:
  • string
Source:

type :number

The type of the message set by the server-side code.
Type:
  • number
Source:

userGenerated :boolean

true if the message was generated by some user action, as opposed an error regarding framework's consistency: e.g. parsing error in the CSS. Error messages with this flag set to false should not be displayed visibly to the user, but in the browser's console instead.
Type:
  • boolean
Source: