/**
* 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 = {};
const componentName = this.$name;
const event = new CustomEvent(`${componentName}-${eventName}`, {
bubbles: true,
- detail: data
+ detail: data,
});
this.$el.dispatchEvent(event);
}
-}
\ No newline at end of file
+
+}