presenterMode()
Sync state between two windows over BroadcastChannel.
| Name | Type | Default | Description |
|---|---|---|---|
role? | 'stage' | 'speaker' | 'stage' | `stage` broadcasts; `speaker` listens and follows. |
channel? | string | 'react-slides' | BroadcastChannel name. |
Sync state between two windows over BroadcastChannel.
| Name | Type | Default | Description |
|---|---|---|---|
role? | 'stage' | 'speaker' | 'stage' | `stage` broadcasts; `speaker` listens and follows. |
channel? | string | 'react-slides' | BroadcastChannel name. |