mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-11 03:47:21 +00:00
Moved all extension methods into extension blocks (#1155)
This commit is contained in:
1 parent
acc7d09fa2
commit
c0a75f39ac
138 files changed
+5884
-4954
No files matched your search
@@ -4,8 +4,11 @@ namespace AIStudio.Tools;
|
||||
|
||||
public static class ElementReferenceExtensions
|
||||
{
|
||||
public static async ValueTask ScrollIntoViewAsync(this ElementReference elementReference, IJSRuntime jsRuntime)
|
||||
extension(ElementReference elementReference)
|
||||
{
|
||||
await jsRuntime.InvokeVoidAsync("scrollToBottom", elementReference);
|
||||
public async ValueTask ScrollIntoViewAsync(IJSRuntime jsRuntime)
|
||||
{
|
||||
await jsRuntime.InvokeVoidAsync("scrollToBottom", elementReference);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user