Constructor
new SplitPopup(segIdx, anchorEl, project, workspace, callbacksopt)
Creates and displays a SplitPopup.
Parameters:
| Name | Type | Attributes | Default | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
segIdx | number | Index of the segment in segments | ||||||||||||||
anchorEl | Element | | Element to position the popup near | ||||||||||||||
project | object | The active project instance | ||||||||||||||
workspace | object | The workspace controller instance | ||||||||||||||
callbacks | object | <optional> | {} | Callback functions for split actionsProperties
|
- Source
Classes
Members
previewFrac
Returns the current split preview state for use by the waveform panel.
- Source
Methods
destroy()
Fully removes the popup from the DOM and cleans up all listeners and state.