BPT

Browser window size

The BptBrowserWindowSize returns the size of your browser window continuously.

Live Window Size Detection

Resize your browser window to see the component update in real time:

Feedback window
Current Configuration
📋 [+]
<BptBrowserWindowSize Debug="true"
                     EnableWindowSizeDetection="true"
                     OnWindowSizeChanged="HandleSizeChanged" />

@code {
    private void HandleSizeChanged(BptSize size)
    {
        // size.Width and size.Height contain the current window dimensions
    }
}
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.