# W\_popup

<figure><img src="/files/SM7YuIzzQgyadODvVNoU" alt=""><figcaption></figcaption></figure>

Created with createPopup\_UI() (W\_main) at the end of a round / game. Cliking on its button will then launch a new round if var "resetGame" is set to false, and a new game if it is set to true.

Removed with removePopup\_UI() (W\_main) at the start of a new round / game.

The text to display is variable and can be changed eveytime the createPopup\_UI() (W\_main) is called.

The popup fills the whole screen to prevent the user from clicking on others buttons while the round / game is over.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://easy-blackjack.gitbook.io/easy_blackjack-docs/w_popup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
