Call super methods

This commit is contained in:
trading_peter 2024-08-19 22:09:03 +02:00
parent 9ee517e810
commit 11a06bb073
2 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@tp/tp-number-input",
"version": "1.0.0",
"version": "1.0.1",
"description": "",
"main": "tp-number-input.js",
"scripts": {

View File

@ -122,12 +122,16 @@ class TpNumberInput extends FormElement(EventHelpers(DomQuery(LitElement))) {
}
firstUpdated() {
super.firstUpdated();
this.listen(this, 'click', '_onTap');
this.listen(this.$.innerInput, 'blur', '_onBlur');
this.listen(this.$.innerInput, 'keydown', '_onKey');
}
updated(changes) {
super.updated();
if (changes.has('timeMode')) {
this._timeModeChanged();
}