Navigator

Module: JavaScript DOM API

The navigator of the view.

#include <Navigator.idl>

Public Functions

Name
Gamepad []getGamepads()
List of connected gamepads.
Promise< sequence< VRDisplay > >getVRDisplays()

Public Attributes

Name
readonly attribute DOMStringuserAgent
The user agent.

Public Functions Documentation

function getGamepads

Gamepad [] getGamepads()

List of connected gamepads.

function getVRDisplays

Promise< sequence< VRDisplay > > getVRDisplays()

Public Attributes Documentation

variable userAgent

readonly attribute DOMString userAgent;

The user agent.