feat(Module): support auto append Interop argument (#7254)

This commit is contained in:
Argo Zhang
2025-12-05 12:48:32 +08:00
committed by GitHub
parent 6937eaa5ef
commit 08ce31fab8

View File

@@ -1,4 +1,4 @@
// Licensed to the .NET Foundation under one or more agreements.
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License
// See the LICENSE file in the project root for more information.
// Maintainer: Argo Zhang(argo@live.ca) Website: https://www.blazor.zone
@@ -106,7 +106,7 @@ public abstract class BootstrapModuleComponentBase : IdComponentBase, IAsyncDisp
/// call JavaScript method
/// </summary>
/// <returns></returns>
protected virtual Task InvokeInitAsync() => InvokeVoidAsync("init", Id);
protected virtual Task InvokeInitAsync() => InvokeVoidAsync("init", Id, Interop);
/// <summary>
/// call JavaScript method