Send notification to user
notify(opts)
Send an in-Designer notification to the user. The notification can be styled as either a success, error, or general information message. Error messages provide users with the opportunity to close the Designer Extension.
Syntax
Parameters
opts
: {message: string, type: 'Error' | 'Info' | 'Success'
The options for the notification.
- message: string
- type: “Error” | “Info” | “Success”
Returns
Promise<Void>
A Promise that returns a value of undefined
.