The studio guide for mascot_status().
The same page is read in the mascot studio.
Try it live.
The mascot studio shows this function with live controls and the generated code. In an R session with the optional packages bslib and knitr installed, run:
mascot::mascot_studio(fn = "mascot_status")
It opens on this function's guide; change a control and watch the mascot.
Status line or speech bubble?
| Status line | Speech bubble | |
|---|---|---|
| Visible | Always, under the mascot | Until it times out or is closed |
| Screen readers | Announced politely when it changes | Announced politely when it appears |
| Use it for | The current state: “Checking 120 rows” | News: “Three rows were skipped” |
| Set it | status = "text" |
bubble = "text" |
| Clear it | status = mascot_status() |
bubble = mascot_bubble() |
Warnings, errors and common mistakes
mascot_status(1)
