The fullscreen function is used to toggle fullscreen mode in the browser.

fullscreen(
fullscreen_mode = TRUE,

message = "<p>The experiment will switch to full screen mode when you press the button below</p>",
button_label = "Continue",
delay_after = 1000
)

## Arguments

fullscreen_mode If TRUE, sets browser in full screen mode. Default: TRUE. This is the message that is displayed in the browser to inform of the switch to fullscreen mode. This is label of the button to acknowledge the switch. Time period in ms after the switch to proceed with the following element in the timeline.