Hi,
I want to add button with name and handler
sel_status_ctrl : any;
//
this.sel_status_ctrl = {
title: 'Choose Status',
subtitle: " For company",
enableBackdropDismiss : false,
buttons: [
{
text: 'Cancel',
role: 'cancel',
handler: () => {
console.log('Cancel clicked');
}
},
{
text: 'Buy',
handler: () => {
console.log('Buy clicked');
}
}
]
};
And it is only get title, subtitle, enableBackdropDismiss but not getting button why?
If anybody has solution let me know.
Thanks