-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Closed
Description
Description
To display content until the component is interactive ...
@if (!RendererInfo.IsInteractive)
{
<p>Connecting to the assistant...</p>
}
else
{
// Code to display chatbot messages
}In a form that sends messages to the chatbot ...
<button ... disabled="@(chatState is null || !RendererInfo.IsInteractive)">
Send
</button>Page URL
https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-9.0
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/blazor/components/render-modes.md
Document ID
7c9948a3-9886-8097-6014-492a4c21ea4e
Article author
Metadata
Metadata
Assignees
Type
Projects
Status
Done