septima-widget 0.0.0-dev-e5679 → 0.0.0-dev-03255
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/widgetapi.mjs +4 -0
package/package.json
CHANGED
package/widgetapi.mjs
CHANGED
|
@@ -110,6 +110,10 @@ export default class WidgetAPI {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
+
destroy() {
|
|
114
|
+
this._ready(() => this._widget.destroy());
|
|
115
|
+
}
|
|
116
|
+
|
|
113
117
|
on(event, listener) {
|
|
114
118
|
if (this._widget && typeof this._widget.events !== 'undefined') {
|
|
115
119
|
return this._widget.events.on(event, listener)
|