CodeMirrorEditor.openNotification method
CodeMirrorEditor › openNotification
Unofficial
Open a notification message in the editor. Returns a function to dismiss it.Signature:
openNotification(message: string, options?: OpenNotificationOptions | undefined): () => voidParameters:
| Parameter | Type | Description |
|---|---|---|
| message | string | The notification message to display. |
| options? | OpenNotificationOptions | undefined | The notification options. |
Returns: () => void — A function to dismiss the notification.