@prof-dev/improved-select
Advanced tools
Comparing version 1.1.5 to 1.1.6
@@ -49,2 +49,3 @@ import { EventEmitter } from "@prof-dev/event-emitter"; | ||
clear(): void; | ||
getSelectedOptions(): HTMLOptionElement[]; | ||
static create(element: HTMLElement): ImprovedSelect; | ||
@@ -51,0 +52,0 @@ static initAllAvailableOnPage(): void; |
@@ -405,2 +405,6 @@ "use strict"; | ||
}; | ||
ImprovedSelect.prototype.getSelectedOptions = function () { | ||
var _a, _b; | ||
return Array.from((_b = (_a = this.select) === null || _a === void 0 ? void 0 : _a.selectedOptions) !== null && _b !== void 0 ? _b : []); | ||
}; | ||
ImprovedSelect.create = function (element) { | ||
@@ -407,0 +411,0 @@ var instance = improvedSelectElementsMap.get(element); |
{ | ||
"name": "@prof-dev/improved-select", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"description": "Helper for live clicks events management", | ||
@@ -12,2 +12,3 @@ "main": "lib/ImprovedSelect.js", | ||
"build:only": "tsc && npm run sass", | ||
"publish:patch": "npm version patch && npm run build && npm publish", | ||
"clean": "rimraf lib/*" | ||
@@ -14,0 +15,0 @@ }, |
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
83015
1451