bindPopup
|
{
show: boolean,
popup: {
message: string,
placementOnTop: boolean,
primaryButton?: {
value: string,
action: ()=>void
},
secondaryButton?:{
value: string,
action: () =>void
},
onStateChange?: (isVisible: boolean) => void
}
}
|
-
|
show: whether to display the current popup message. The default value is false.
message: content of the popup message.
placementOnTop: whether to display the popup message above the component. The default value is false.
primaryButton: first button.
secondaryButton: second button.
onStateChange: callback for the popup window status change event. The argument is the visibility status of the current popup window.
|