1👍
✅
You can pass the event with the parameters as follows setPriceRange($event, minPriceInput, maxPriceInput);
and use it through event.target
.
Another thing you can do is giving it an id and calling it normally using document.getElementById("minPrice")
…
Source:stackexchange.com