How to make search-icon present in searchbar functional . In ionc 2

i am using ionic 2 searchbar for searching the data in my list . My question is how to consol.log my data in that searchbar, when i click on search ion in that which is present in the searchbar .

or is there any other way to achieve this

  <ion-navbar>
    <ion-title>search</ion-title>
  </ion-navbar>
  
  <ion-toolbar primary >
    <ion-searchbar (ionInput)="getItems($event)"  [(ngModel)]="listitme" ></ion-searchbar>
  </ion-toolbar>

</ion-header>


<ion-content padding>

<ion-list>
  <ion-item *ngFor="let item of items">
   
    <div (click)=setitem(item) >  
      {{ item }}
    </div>

  </ion-item>
</ion-list>  

</ion-content>