diff --git a/ignite-element.js b/ignite-element.js index 1dae032..e8f974b 100644 --- a/ignite-element.js +++ b/ignite-element.js @@ -50,10 +50,19 @@ class IgniteElement extends HTMLElement { constructor() { super(); + /** @type {Boolean} */ this.elementConnected = false; //Used to know if the connectedCallback was already called. + + /** @type {IgniteTemplate} */ this.template = null; + + /** @type {HTMLElement[]} */ this.elements = []; + + /** @type {IgniteCallback} */ this.readyCallback = new IgniteCallback(() => this.ready()); + + /** @type {IgniteCallback[]} */ this.onDisconnectCallbacks = []; //Create the variables for this element.