0

how is it possible to Website Automatically opens in landscape mode on mobile device using angular?

soundariya
  • 11
  • 1

1 Answers1

0

I don't think this is an angular matter, but an HTML one. Maybe this answer can help

index.html

<link rel="manifest" href="manifest.json">

manifest.json

{
    "display":      "standalone", /* Could be "fullscreen", "standalone", "minimal-ui", or "browser" */
    "orientation":  "landscape", /* Could be "landscape" or "portrait" */
    ...
}
tbarbot
  • 225
  • 1
  • 4
  • 18