3.1.2 • Published 6 months ago
@ng-web-apis/screen-orientation v3.1.2
Screen Orientation API for Angular
Install
npm i @ng-web-apis/screen-orientation
Examples
import {ScreenOrientationService} from '@ng-web-apis/screen-orientation';
// ...
export class MyComponent {
constructor(readonly orientation$: ScreenOrientationService) {}
}
<p>{{ orientation$ | async }}</p>