Closed maciej-w closed 7 years ago
Hi @maciej-w,
const cancel = { text: this.cancelText, role: 'multi-picker-cancel', handler: () => { this.ionCancel.emit(null); } }
const reset = { text: this.resetText, role: 'multi-picker-reset', handler: (data: any) => { this.reset(); return false; } }
const done = { text: this.doneText, handler: (data: any) => { this.onChange(data); this.ionChange.emit(data); } }
Check my code above, event ionCancel/ionChange will be emitted when you click cancel / done button, so you can add a listener to those two events
How can I add hooks or events fired when press Done or Cancel Button?