Class: PlotlyNotifier

vef.plot.core.extensions.PlotlyNotifier()

Class to simulate plotly's notification function and write own notification messages. Required because it is not accessible from outside.

Constructor

new PlotlyNotifier()

Source:

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