Open jasonmamy opened 5 years ago
Need to add browser functionality if the plugin is running on a browser and not a device (or even PWA on device).
Can use the Ionic PickerController which will pop up a javascript-based picker:
async showSelectorr() { const picker = await this.pickerCtrl.create({ buttons: [{ text: 'Done', handler: (data: PickerSelected) => this.getPickerData(data) } ], columns: [{ name: 'quantity', options: this.quantity},{ name: 'measure', options: this.measures}, ], });
await picker.present();
}
Need to add browser functionality if the plugin is running on a browser and not a device (or even PWA on device).
Can use the Ionic PickerController which will pop up a javascript-based picker:
async showSelectorr() { const picker = await this.pickerCtrl.create({ buttons: [{ text: 'Done', handler: (data: PickerSelected) => this.getPickerData(data) } ], columns: [{ name: 'quantity', options: this.quantity},{ name: 'measure', options: this.measures}, ], });
}