ng-easycommerce 0.0.606 → 0.0.607
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/README.md +2 -0
- package/bundles/ng-easycommerce.umd.js +6 -1
- package/bundles/ng-easycommerce.umd.js.map +1 -1
- package/bundles/ng-easycommerce.umd.min.js +1 -1
- package/bundles/ng-easycommerce.umd.min.js.map +1 -1
- package/esm2015/lib/ec-component/header-ec/header-ec.component.js +7 -2
- package/esm5/lib/ec-component/header-ec/header-ec.component.js +7 -2
- package/fesm2015/ng-easycommerce.js +6 -1
- package/fesm2015/ng-easycommerce.js.map +1 -1
- package/fesm5/ng-easycommerce.js +6 -1
- package/fesm5/ng-easycommerce.js.map +1 -1
- package/lib/ec-component/header-ec/header-ec.component.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9877,11 +9877,16 @@
|
|
|
9877
9877
|
if (afterSearch) {
|
|
9878
9878
|
afterSearch.apply(void 0, __spread$5(args));
|
|
9879
9879
|
}
|
|
9880
|
+
event.target.value = ''; // Limpiamos el valor del input después de la búsqueda
|
|
9880
9881
|
}
|
|
9881
9882
|
};
|
|
9882
|
-
_this.getCollectionSearch = function () {
|
|
9883
|
+
_this.getCollectionSearch = function (searchInput) {
|
|
9883
9884
|
_this.consts.searchValue = _this.searchValue;
|
|
9884
9885
|
_this.router.navigateByUrl('/collection?search=' + _this.searchValue);
|
|
9886
|
+
// Limpia el valor de búsqueda
|
|
9887
|
+
if (searchInput) {
|
|
9888
|
+
searchInput.value = '';
|
|
9889
|
+
}
|
|
9885
9890
|
};
|
|
9886
9891
|
_this.toogleToolbar = function () {
|
|
9887
9892
|
console.log('LLAMA AL TOOGLE');
|