Answers for "add click events to date time ionic"

1

ionic button trigger ion-datetime

<button ion-button icon-right (click)="picker.open()">
    <ion-datetime #picker pickerFormat="DD MMMM YYYY" [min]="datePickerMin" [(ngModel)]="datePicker" (ionChange)="changeDate()"></ion-datetime>
    <ion-icon name="calendar"></ion-icon>
</button>
Posted by: Guest on March-19-2021

Browse Popular Code Answers by Language