mirror of
https://gitee.com/LongbowEnterprise/BootstrapBlazor.git
synced 2025-12-06 07:28:50 +08:00
feat(Module): support auto append Interop argument (#7254)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user