Call super methods
This commit is contained in:
parent
9ee517e810
commit
11a06bb073
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@tp/tp-number-input",
|
"name": "@tp/tp-number-input",
|
||||||
"version": "1.0.0",
|
"version": "1.0.1",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "tp-number-input.js",
|
"main": "tp-number-input.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -122,12 +122,16 @@ class TpNumberInput extends FormElement(EventHelpers(DomQuery(LitElement))) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
firstUpdated() {
|
firstUpdated() {
|
||||||
|
super.firstUpdated();
|
||||||
|
|
||||||
this.listen(this, 'click', '_onTap');
|
this.listen(this, 'click', '_onTap');
|
||||||
this.listen(this.$.innerInput, 'blur', '_onBlur');
|
this.listen(this.$.innerInput, 'blur', '_onBlur');
|
||||||
this.listen(this.$.innerInput, 'keydown', '_onKey');
|
this.listen(this.$.innerInput, 'keydown', '_onKey');
|
||||||
}
|
}
|
||||||
|
|
||||||
updated(changes) {
|
updated(changes) {
|
||||||
|
super.updated();
|
||||||
|
|
||||||
if (changes.has('timeMode')) {
|
if (changes.has('timeMode')) {
|
||||||
this._timeModeChanged();
|
this._timeModeChanged();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user