⤵️ Screen Orientation API für Browser - GoingMeta.io

Get in touch..

+43 670 208 6108
Die Screen Orientation API in Ihrer Progressive Web App bietet Ihnen die Optimale Darstellung Ihrer Webseite.

⤵️ Screen Orientation API für Browser

With the Screen Orientation API, progressive web applications can call up information on the current orientation of the document (portrait or landscape format) and lock the screen orientation in a requested state.

Using media queries, websites can adjust their layout depending on the screen orientation of a smartphone or tablet. However, sometimes you want your website to be tied to a specific targeting, portrait, or landscape. In such a case, the format of native apps can be specified. The app is then only displayed in the preset format – regardless of the actual device orientation. You can now define the screen orientation in JavaScript using the HTML5 screen orientation API.

Lisa Wiedmaier

Lisa studiert Digital Business und ist ein kreativer Content Creator. In Ihrer Freizeit spielt sie gerne Klavier und hat - ungelogen - 30 Zimmerpflanzen.

No Comments

Post a Comment