@ng-web-apis/screen-orientation
v4.12.2
Published
A library for declarative use of screen orientation with Angular
Readme
Screen Orientation API for Angular
Install
npm i @ng-web-apis/screen-orientationExamples
import {ScreenOrientationService} from '@ng-web-apis/screen-orientation';
// ...
export class Example {
constructor(readonly orientation$: ScreenOrientationService) {}
}<p>{{ orientation$ | async }}</p>