diff --git a/src/asset_manager/index.js b/src/asset_manager/index.js index 853178d6f..3aaa1af2b 100644 --- a/src/asset_manager/index.js +++ b/src/asset_manager/index.js @@ -81,11 +81,6 @@ export default () => { removeBefore: evRemoveBefore }, - /** - * Initialize module - * @param {Object} config Configurations - * @private - */ init(config = {}) { c = { ...defaults, ...config }; const ppfx = c.pStylePrefix; @@ -115,6 +110,24 @@ export default () => { this.getAll().trigger(ev, ...data); }, + /** + * Open the asset manager. + * @param {Object} [options] Options for the asset manager. + * @param {Array|Array} asset URL strings or an objects representing the resource.