Removing closeOnClick as it is not implemented
This commit is contained in:
parent
bb8b222c22
commit
7fddcc28f1
3 changed files with 6 additions and 10 deletions
|
@ -42,11 +42,7 @@ interface ButtonDescriptor {
|
|||
/**
|
||||
* Callback called if the button is pressed
|
||||
*/
|
||||
callback?: ButtonClickedCallback,
|
||||
/**
|
||||
* If set to true, the popup is closed when the button is clicked
|
||||
*/
|
||||
closeOnClick?: boolean
|
||||
callback: ButtonClickedCallback,
|
||||
}
|
||||
|
||||
class Popup {
|
||||
|
@ -109,8 +105,7 @@ window.WA = {
|
|||
buttons: buttons.map((button) => {
|
||||
return {
|
||||
label: button.label,
|
||||
className: button.className,
|
||||
closeOnClick: button.closeOnClick
|
||||
className: button.className
|
||||
};
|
||||
})
|
||||
} as OpenPopupEvent
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue