/** * @typedef {Object} ElanPluginParams * @property {string|HTMLElement} container CSS selector or HTML element where * the ELAN information should be renderer. * @property {string} url The location of ELAN XML data * @property {?boolean} deferInit Set to true to manually call * @property {?Object} tiers If set only shows the data tiers with the `TIER_ID` * in this map. */ /** * Downloads and renders ELAN audio transcription documents alongside the * waveform. * * @implements {PluginClass} * @extends {Observer} * @example * // es6 * import ElanPlugin from 'wavesurfer.elan.js'; * * // commonjs * var ElanPlugin = require('wavesurfer.elan.js'); * * // if you are using