Skip to content

presenterMode()

Sync state between two windows over BroadcastChannel.

NameTypeDefaultDescription
role?'stage' | 'speaker''stage'`stage` broadcasts; `speaker` listens and follows.
channel?string'react-slides'BroadcastChannel name.