aboutsummaryrefslogtreecommitdiff
path: root/ext/js/dom/panel-element.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/dom/panel-element.js')
-rw-r--r--ext/js/dom/panel-element.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/js/dom/panel-element.js b/ext/js/dom/panel-element.js
index 0f2801e6..97b05599 100644
--- a/ext/js/dom/panel-element.js
+++ b/ext/js/dom/panel-element.js
@@ -23,9 +23,10 @@ import {EventDispatcher} from '../core/event-dispatcher.js';
*/
export class PanelElement extends EventDispatcher {
/**
- * @param {import('panel-element').ConstructorDetails} details
+ * @param {HTMLElement} node
+ * @param {number} closingAnimationDuration
*/
- constructor({node, closingAnimationDuration}) {
+ constructor(node, closingAnimationDuration) {
super();
/** @type {HTMLElement} */
this._node = node;