Skip to content

Ihor912/nativescript-get-device-orientation-util

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Nativescript Get Device Orientation Util

NativeScript utility to get device orientation on IOS and Android devices.

How to use:

Move this file to your project and use it :)

import { getDeviceOrientation } from './deviceOrientationUtil';

getDeviceOrientation();    // landscape or portrait

About

NativeScript utility to get device orientation on IOS and Android devices.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published