Skip to content

Commit 6a93ee0

Browse files
committed
The FluentJSModule class has been made public to allow external access.
1 parent 4d89c69 commit 6a93ee0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Core/Components/Base/FluentJSModule.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ namespace Microsoft.FluentUI.AspNetCore.Components;
1010
/// <summary>
1111
/// Base class to manage the JavaScript function from the FluentUI Blazor components.
1212
/// </summary>
13-
internal class FluentJSModule : IAsyncDisposable
13+
public class FluentJSModule : IAsyncDisposable
1414
{
1515
private IJSObjectReference? _jsModule;
1616

1717
/// <summary>
1818
/// Gets the root path for the JavaScript files.
1919
/// </summary>
20-
public const string JAVASCRIPT_ROOT = "./_content/Microsoft.FluentUI.AspNetCore.Components/Components/";
20+
internal const string JAVASCRIPT_ROOT = "./_content/Microsoft.FluentUI.AspNetCore.Components/Components/";
2121

2222
/// <summary>
2323
/// Initializes a new instance of the <see cref="FluentJSModule"/> class.
@@ -75,7 +75,7 @@ public virtual async ValueTask DisposeAsync()
7575
/// <returns></returns>
7676
/// <exception cref="NotImplementedException"></exception>
7777
[ExcludeFromCodeCoverage]
78-
internal virtual async ValueTask DisposeAsync(IJSObjectReference? jsModule)
78+
protected virtual async ValueTask DisposeAsync(IJSObjectReference? jsModule)
7979
{
8080
if (jsModule != null)
8181
{

0 commit comments

Comments
 (0)