1 instantiation of ScreenOrientation
Microsoft.AspNetCore.Components.Platform (1)
ScreenScreenOrientationExtensions.cs (1)
17=> screen.GetOrAddFeature(static context => new ScreenOrientation(context.JSRuntime, context.CreateEventListenerCollection()));
5 references to ScreenOrientation
Microsoft.AspNetCore.Components.Platform (5)
ScreenOrientation.cs (4)
27public static EventType<ScreenOrientation, Event> ChangeEvent { get; } 28= EventTypes.Create<ScreenOrientation, Event>("change", "[{}]"); 67public ValueTask<IAsyncDisposable> AddEventListenerAsync<TEvent>(EventType<ScreenOrientation, TEvent> type, Func<TEvent, Task> listener) 86public async ValueTask<IAsyncDisposable> AddEventListenerAsync<TEvent>(EventType<ScreenOrientation, TEvent> type, Func<TEvent, Task> listener, CancellationToken cancellationToken)
ScreenScreenOrientationExtensions.cs (1)
16public ScreenOrientation Orientation