/** * @typedef {Object} MinimapPluginParams * @desc Extends the `WavesurferParams` wavesurfer was initialised with * @property {?string|HTMLElement} container CSS selector or HTML element where * the ELAN information should be renderer. By default it is simply appended * after the waveform. * @property {?boolean} deferInit Set to true to manually call * `initPlugin('minimap')` */ /** * Renders a smaller version waveform as a minimap of the main waveform. * * @implements {PluginClass} * @extends {Observer} * @example * // es6 * import MinimapPlugin from 'wavesurfer.minimap.js'; * * // commonjs * var MinimapPlugin = require('wavesurfer.minimap.js'); * * // if you are using