@prof-dev/improved-select
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -49,2 +49,3 @@ "use strict"; | ||
var improvedSelectElementsMap = new Map(); | ||
console.log(111111111); | ||
var ImprovedSelect = /** @class */ (function (_super) { | ||
@@ -385,1 +386,2 @@ __extends(ImprovedSelect, _super); | ||
}); | ||
//# sourceMappingURL=ImprovedSelect.js.map |
@@ -16,1 +16,2 @@ "use strict"; | ||
exports.arrayEqual = arrayEqual; | ||
//# sourceMappingURL=utils.js.map |
{ | ||
"name": "@prof-dev/improved-select", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Helper for live clicks events management", | ||
@@ -5,0 +5,0 @@ "main": "lib/ImprovedSelect.js", |
@@ -13,3 +13,17 @@ # improved-select | ||
#### Styles | ||
```typescript | ||
import "@prof-dev/improved-select/lib/improved-select.css"; | ||
``` | ||
or | ||
```scss | ||
@import "@prof-dev/improved-select/lib/improved-select.css"; | ||
``` | ||
#### Code | ||
```typescript | ||
import { ImprovedSelect } from "@prof-dev/improved-select"; | ||
@@ -16,0 +30,0 @@ |
@@ -57,2 +57,3 @@ import { EventEmitter } from "@prof-dev/event-emitter"; | ||
this.initChangeStateBehavior(); | ||
this.initResetBehavior(); | ||
this.updateActiveState(); | ||
@@ -164,2 +165,8 @@ this.element.setAttribute("data-improved-select", "initialized"); | ||
private initResetBehavior() { | ||
if (this.select) { | ||
this.select.addEventListener("reset", this.reset); | ||
} | ||
} | ||
private updateActiveState() { | ||
@@ -166,0 +173,0 @@ if (this.select) { |
@@ -19,3 +19,3 @@ { | ||
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */ | ||
// "sourceMap": true /* Generates corresponding '.map' file. */, | ||
"sourceMap": true /* Generates corresponding '.map' file. */, | ||
// "outFile": "" /* Concatenate and emit output to single file. */, | ||
@@ -22,0 +22,0 @@ "outDir": "lib" /* Redirect output structure to the directory. */, |
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
76155
14
963
90