Detecting handset orientation change

Thread is closed for posting
3 posts, 1 answers
  1. Ian
    Ian avatar
    129 posts
    Member since:
    Jun 2009

    Posted 27 Apr 2015 Link to this post

    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. Answer
    Hristo
    Admin
    Hristo avatar
    832 posts

    Posted 04 May 2015 Link to this post

    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.

     
  3. Ian
    Ian avatar
    129 posts
    Member since:
    Jun 2009

    Posted 06 May 2015 in reply to Hristo Link to this post

    Hi Hristo,

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

     Regards, Ian

Back to Top