This is a migrated thread and some comments may be shown as answers.

Detecting handset orientation change

2 Answers 101 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ian
Top achievements
Rank 1
Ian asked on 27 Apr 2015, 07:46 PM

Hi, I'm looking for a way to programmatically change a page layout when there's a handset orientation change - from portrait to landscape mode for example. Is any sort of event triggered following an orientation change or are you planning any support for CSS media queries which could handle this?

Best regards, Ian

2 Answers, 1 is accepted

Sort by
0
Accepted
Hristo
Telerik team
answered on 04 May 2015, 08:21 AM
Hello Ian,

I have added an issue about adding orientation changed event.
https://github.com/NativeScript/NativeScript/issues/110

As for the media queries - we don't have support at the moment but we will implement them.
https://github.com/NativeScript/NativeScript/issues/64

Regards,
Hristo
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
0
Ian
Top achievements
Rank 1
answered on 06 May 2015, 03:31 PM

Hi Hristo,

Thanks for the update. Good to know it's likely to be addressed in the future.

 Regards, Ian

Tags
General Discussions
Asked by
Ian
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Ian
Top achievements
Rank 1
Share this question
or