BptSwitch

API reference for BptSwitch — parameters, event callbacks, and related configuration.

Home / Documentation / BptSwitch
Controls

BptSwitch

Open demo →

Parameters

NameTypeFlagsDescription
BptAppStateBptRootComponentBaseCascadingNullable
CultureStateBptCultureStateCascadingNullable
Enabledbool
Valuebool
LabelstringNullable
LabelPlacementBptLabelPlacement
SizeBptComponentSize
ColorstringNullable
Disabledbool
CssClassstring

Event callbacks

NameTypeFlagsDescription
ValueChangedEventCallback<bool>
OnClickEventCallback<bool>
An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please reload the page.