]> BookStack Code Mirror - bookstack/blobdiff - resources/js/components/component.js
Opensearch: Fixed XML declaration when php short tags enabled
[bookstack] / resources / js / components / component.js
index 654f41a96643ef750d0c63bf6dac3d32a3203a08..c23898bbcbbd6f1e098485de427a70a872e5e69e 100644 (file)
@@ -8,20 +8,20 @@ export class Component {
 
     /**
      * The element that the component is registered upon.
-     * @type {Element}
+     * @type {HTMLElement}
      */
     $el = null;
 
     /**
      * Mapping of referenced elements within the component.
-     * @type {Object<string, Element>}
+     * @type {Object<string, HTMLElement>}
      */
     $refs = {};
 
     /**
      * Mapping of arrays of referenced elements within the component so multiple
      * references, sharing the same name, can be fetched.
-     * @type {Object<string, Element[]>}
+     * @type {Object<string, HTMLElement[]>}
      */
     $manyRefs = {};