Detect Screen Orientation in ionic2/Angular2

You can use the angular 2 binding within your template

(window:orientationchange)="changeOrientation($event)"
3 Likes