Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70433

Events ion-picker

$
0
0

@bbarascou wrote:

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();

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70433

Trending Articles



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