@material/mwc-base
Advanced tools
Comparing version 0.1.2 to 0.2.0
@@ -36,4 +36,3 @@ /** | ||
async ready() { | ||
super.ready(); | ||
async firstUpdated() { | ||
if (this._asyncComponent) { | ||
@@ -46,3 +45,3 @@ await afterNextRender(); | ||
_makeComponent() { | ||
this._componentRoot = this._root.querySelector(this.constructor.componentSelector); | ||
this._componentRoot = this.shadowRoot.querySelector(this.constructor.componentSelector); | ||
this._component = new (this.constructor.ComponentClass)(this._componentRoot); | ||
@@ -65,2 +64,2 @@ if (this._resolveComponentPromise) { | ||
} | ||
} | ||
} |
@@ -30,5 +30,5 @@ /** | ||
ready() { | ||
super.ready(); | ||
this._formElement = this._root.querySelector(this.constructor.formElementSelector); | ||
firstUpdated() { | ||
super.firstUpdated(); | ||
this._formElement = this.shadowRoot.querySelector(this.constructor.formElementSelector); | ||
} | ||
@@ -54,2 +54,2 @@ | ||
} | ||
} | ||
} |
{ | ||
"name": "@material/mwc-base", | ||
"version": "0.1.2", | ||
"version": "0.2.0", | ||
"description": "", | ||
@@ -14,3 +14,3 @@ "scripts": { | ||
"dependencies": { | ||
"@polymer/lit-element": "^0.5.2" | ||
"@polymer/lit-element": "^0.6.0" | ||
}, | ||
@@ -17,0 +17,0 @@ "publishConfig": { |
15809
10
396
+ Added@polymer/lit-element@0.6.5(transitive)
+ Addedlit-html@1.4.1(transitive)
- Removed@polymer/lit-element@0.5.2(transitive)
- Removed@polymer/polymer@3.5.1(transitive)
- Removed@webcomponents/shadycss@1.11.2(transitive)
- Removedlit-html@0.10.2(transitive)
Updated@polymer/lit-element@^0.6.0