语言

Menu
Sites
Language
orientation change on click event

hiii,

          When click on button.  change orientation mode portrait to landscape then orientation set landscape and after back then orientation is portrait. how to possible this .

thanks .

编辑者为: Brock Boland 17 3月, 2014 原因: Paragraph tags added automatically from tizen_format_fix module.

响应

2 回复
Aries Brune Tyson Antony Raj
Hi, I hope this helps
https://developer.tizen.org/forums/web-application-development/about-orientation.sos...
Lakshmi Grandhi
Hi Bhardwaj, Using Tizen Web Application Framework, we can bind to orientation change events when device rotates, it doesn't support to set the device orientation from Application. If you wants to apply orientation changes only for your app after clicking button, u have to bind click event and set document width and height manually and apply corresponding css changes.