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-toolbar primary >
    <ion-searchbar (ionInput)="getItems($event)"  [(ngModel)]="listitme" ></ion-searchbar>


<ion-content padding>

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