Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 230202

Events ion-picker

$
0
0

Hello everyone,

i’m trying to display a message before opening the picker using the event ionPickerWillPresent.
But i don’t know how to use it properly.

Can you help me pls ?

This is how i create the picker

    let options: PickerOptions = {
      buttons: [
        {
          text: "Annuler",
          role: 'cancel'
        },
        {
          text: 'Ok',
          handler: (value: any) => {
     


          }
        }
      ],
      columns: [{
        name: 'Minutes',
        options: this.getColumnOptions()
      }]
    };
    let picker = await this.pickerController.create(options);
    picker.present();

Viewing all articles
Browse latest Browse all 230202

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>