@prof-dev/improved-select
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -31,2 +31,3 @@ import { EventEmitter } from "@prof-dev/event-emitter"; | ||
private initSearchBehavior; | ||
private initResetBehavior; | ||
private updateActiveState; | ||
@@ -33,0 +34,0 @@ private updateSearchState; |
@@ -49,3 +49,2 @@ "use strict"; | ||
var improvedSelectElementsMap = new Map(); | ||
console.log(111111111); | ||
var ImprovedSelect = /** @class */ (function (_super) { | ||
@@ -81,2 +80,3 @@ __extends(ImprovedSelect, _super); | ||
_this.initChangeStateBehavior(); | ||
_this.initResetBehavior(); | ||
_this.updateActiveState(); | ||
@@ -193,2 +193,7 @@ _this.element.setAttribute("data-improved-select", "initialized"); | ||
}; | ||
ImprovedSelect.prototype.initResetBehavior = function () { | ||
if (this.select) { | ||
this.select.addEventListener("reset", this.reset); | ||
} | ||
}; | ||
ImprovedSelect.prototype.updateActiveState = function () { | ||
@@ -195,0 +200,0 @@ var _this = this; |
{ | ||
"name": "@prof-dev/improved-select", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Helper for live clicks events management", | ||
@@ -5,0 +5,0 @@ "main": "lib/ImprovedSelect.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
76501
969