Displays a dialog to the operator with a yes-no question.
vcc.confirm(message: string, [title: string]): boolean
A popup window (modal dialog) appears, containing a message and Yes/No buttons.
The message to be shown.
The title of the window. If not passed, the window will have no title.
Returns true if the Yes button is pressed, false otherwise.
We want to ask again if there are no orders.
// it will true or false const answer = vcc.confirm('Everything was okay with the call?');
Can’t find what you need? Use the comment section below to connect with others, get answers from our experts, or share your ideas with us.
There are no comments yet.