Methods
(static) _createNotification(message) → {HTMLDivElement}
Create the default plotly notification element containing the notification message.
Parameters:
Name | Type | Description |
---|---|---|
message |
String | Message text. |
- Source:
Returns:
- Notification element.
- Type
- HTMLDivElement
(static) displayMessage(message, duration)
Displays a custom message in Plotly's default DOM node.
Parameters:
Name | Type | Description |
---|---|---|
message |
String | Message text. |
duration |
Number | How long the message should be displayed. |
- Source:
(static) getPlotlyNotificationContainer() → {HTMLDivElement}
Creates the default plotly notification container if it does not already exist and then returns it.
- Source:
Returns:
- Notification container.
- Type
- HTMLDivElement