You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: aspnetcore/blazor/fundamentals/signalr.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -507,7 +507,7 @@ In the `Program` file, call <xref:Microsoft.AspNetCore.Builder.ComponentEndpoint
507
507
508
508
## Reflect the server-side connection state in the UI
509
509
510
-
If the client detects a lost connection to the server, a default UI is displayed to the user while the client attempts to reconnect:
510
+
If the client detects a lost connection (circuit) to the server, a default UI is displayed to the user while the client attempts to reconnect:
511
511
512
512
:::moniker range=">= aspnetcore-9.0"
513
513
@@ -541,12 +541,13 @@ If reconnection succeeds, user state is often lost. Custom code can be added to
541
541
542
542
To create UI elements that track reconnection state, the following table describes:
543
543
544
-
* A set of `components-reconnect-*` CSS classes (**Css class** column) that are set or unset by Blazor on an element with an `id` of `components-reconnect-modal`.
544
+
* A set of `components-reconnect-*` CSS classes (**CSS class** column) that are set or unset by Blazor on an element with an `id` of `components-reconnect-modal`.
545
545
* A `components-reconnect-state-changed` event (**Event** column) that indicates a reconnection status change.
546
546
547
547
| CSS class | Event | Indicates…|
548
548
| --- | --- | --- |
549
549
|`components-reconnect-show`|`show`| A lost connection. The client is attempting to reconnect. The reconnection modal is shown. |
550
+
|`components-reconnect-paused`|`paused`| The connection is paused. For more information, see [Pause and resume circuits](xref:blazor/state-management/server#pause-and-resume-circuits). |
550
551
|`components-reconnect-hide`|`hide`| An active connection is re-established to the server. The reconnection model is closed. |
551
552
|`components-reconnect-retrying`|`retrying`| The client is attempting to reconnect. |
552
553
|`components-reconnect-failed`|`failed`| Reconnection failed, probably due to a network failure. |
0 commit comments