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?');
There are no comments yet.