Ionic keyboard event
I have an input field in my ionic form:
<input type="search" placeholder="Search" ng-model="searchKey">
<button class="button button-clear" ng-click="search()">Search</button>
And I want to add an event that triggers the "search ()" function when I press the enter button on my keyboard.
Are there any suggestions?
Thank you in advance
+3
source to share