docs: fix toolbar() example

This commit is contained in:
jean-emmanuel 2021-05-02 09:17:33 +02:00
parent eea4e11cf0
commit 41209c4d70

View file

@ -254,7 +254,7 @@ Triggers toolbar action at specified index.
!!! example "Examples"
- `toolbar(0, 0)` -> Open a new session
- `toolbar(3)` -> Toggle full screen
- `toolbar(4)` -> Toggle full screen
Actions will only be triggered if initiated with a user interaction. Fullscreen cannot be toggled with a simulated interaction (i.e. using `/SET`)