Lock orientation for a single page in ionic2/Angular2 with TypeScript


#1

Hi All,

How do I lock the orientation of a single page to always show in Portrait mode for all platforms in Ionic2/Angular2 app?

Regards,
Chandana


#2

You could use the screen orientation plugin in ionic native


#3

This works for me. Thanks