PlayheadPlugin
Static Method Summary
Static Public Methods | ||
public static |
create(params: PlayheadPluginParams): PluginDefinition Playhead plugin definition factory |
since 5.0.0 |
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
element: * |
|
public |
|
|
public |
|
|
public |
options: {} |
|
public |
params: * |
|
public |
|
|
public |
style: * |
|
public |
unFuns: *[] |
|
public |
util: * |
|
public |
wavesurfer: * |
|
public |
wrapper: * |
Method Summary
Public Methods | ||
public |
destroy() |
|
public |
init() |
|
public |
setPlayheadTime(time: *) |
|
public |
wavesurferOn(ev: *, fn: *): * |
Static Public Methods
public static create(params: PlayheadPluginParams): PluginDefinition since 5.0.0 source
Playhead plugin definition factory
This function must be used to create a plugin definition which can be used by wavesurfer to correctly instantiate the plugin.
Params:
Name | Type | Attribute | Description |
params | PlayheadPluginParams | parameters use to initialise the plugin |