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)
27
public static EventType<
ScreenOrientation
, Event> ChangeEvent { get; }
28
= EventTypes.Create<
ScreenOrientation
, Event>("change", "[{}]");
67
public ValueTask<IAsyncDisposable> AddEventListenerAsync<TEvent>(EventType<
ScreenOrientation
, TEvent> type, Func<TEvent, Task> listener)
86
public async ValueTask<IAsyncDisposable> AddEventListenerAsync<TEvent>(EventType<
ScreenOrientation
, TEvent> type, Func<TEvent, Task> listener, CancellationToken cancellationToken)
ScreenScreenOrientationExtensions.cs (1)
16
public
ScreenOrientation
Orientation