mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-11 13:07:21 +00:00
Added the guided chat to the BeyondFacts Lab (#1177)
This commit is contained in:
1 parent
e77645f44c
commit
79e0c80031
55 files changed
+3481
-72
No files matched your search
@@ -10,5 +10,15 @@ public static class ElementReferenceExtensions
|
||||
{
|
||||
await jsRuntime.InvokeVoidAsync("scrollToBottom", elementReference);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Scrolls back to the sticky header right after this empty anchor, so that the content below the header
|
||||
/// starts at the top again. Nothing moves while the header sits in its place anyway.
|
||||
/// </summary>
|
||||
/// <param name="jsRuntime">The JavaScript runtime of the page.</param>
|
||||
public async ValueTask ScrollToStickyHeaderAsync(IJSRuntime jsRuntime)
|
||||
{
|
||||
await jsRuntime.InvokeVoidAsync("scrollToStickyHeader", elementReference);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user