1 write to JSRuntime
Microsoft.AspNetCore.Components.Platform (1)
FeatureContext.cs (1)
20JSRuntime = jsRuntime;
10 references to JSRuntime
Microsoft.AspNetCore.Components.Platform (10)
FeatureContext.cs (1)
33=> new((JSCallbackFactory)(_callbackFactory ??= new JSCallbackFactory(JSRuntime)), _loggerFactory.CreateLogger<EventListenerCollection>());
ScreenScreenOrientationExtensions.cs (1)
17=> screen.GetOrAddFeature(static context => new ScreenOrientation(context.JSRuntime, context.CreateEventListenerCollection()));
Window.cs (1)
79_referenceTask = _context.JSRuntime.GetValueAsync<IJSObjectReference>("window").AsTask();
WindowCookieStoreExtensions.cs (1)
17=> window.GetOrAddFeature(static context => new CookieStore(context.JSRuntime, context.CreateEventListenerCollection()));
WindowNavigatorExtensions.cs (1)
17=> window.GetOrAddFeature(static (context, window) => new Navigator(context.JSRuntime, window), window);
WindowScreenExtensions.cs (1)
17=> window.GetOrAddFeature(static (context, window) => new Screen(context.JSRuntime, window), window);
WindowUrlExtensions.cs (2)
17=> window.GetOrAddFeature(static context => new UrlConstructor(context.JSRuntime)); 23=> window.GetOrAddFeature(static context => new UrlSearchParamsConstructor(context.JSRuntime));
WindowWebStorageExtensions.cs (2)
31=> window.GetOrAddFeature("localStorage", static context => new Storage(context.JSRuntime, "localStorage")); 37=> window.GetOrAddFeature("sessionStorage", static context => new Storage(context.JSRuntime, "sessionStorage"));