@sathishvj wrote:
Noob question. Still figuring out ts, ng2, and ionic2.
How do I make an ion-icon clickable and then handle that event?<ion-item> <ion-input type='text' (input)='search($event, searchKey)' placeholder='type here'></ion-input> <ion-icon name="close-circle" item-right (<<??>>)='clearInputText($event)'></ion-icon> </ion-item>
Posts: 2
Participants: 2