ng-tailwind 2.27.351 → 2.27.352
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/ng-tailwind.umd.js +3 -0
- package/bundles/ng-tailwind.umd.js.map +1 -1
- package/components/ngt-input/ngt-input.component.d.ts +1 -0
- package/esm2015/components/ngt-input/ngt-input.component.js +4 -1
- package/fesm2015/ng-tailwind.js +3 -0
- package/fesm2015/ng-tailwind.js.map +1 -1
- package/ng-tailwind.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -2136,6 +2136,9 @@
|
|
|
2136
2136
|
_this.element.nativeElement.focus();
|
|
2137
2137
|
}, 200);
|
|
2138
2138
|
};
|
|
2139
|
+
NgtInputComponent.prototype.hasFocus = function () {
|
|
2140
|
+
return document.activeElement === this.element.nativeElement;
|
|
2141
|
+
};
|
|
2139
2142
|
NgtInputComponent.prototype.clearInput = function (event) {
|
|
2140
2143
|
if (event) {
|
|
2141
2144
|
event.stopPropagation();
|