import { type dom } from "https://deno.land/x/evt@v2.4.17/lib/index.ts";
const { Navigator } = dom;
The state and the identity of the user agent. It allows scripts to query it and to register themselves to carry on some activities.
Properties
readonly
activeVRDisplays: ReadonlyArray<VRDisplay>readonly
clipboard: Clipboardreadonly
credentials: CredentialsContainerreadonly
geolocation: Geolocationreadonly
mediaDevices: MediaDevicesreadonly
permissions: Permissionsreadonly
serviceWorker: ServiceWorkerContainerMethods
getGamepads(): (Gamepad | null)[]
getUserMedia(): void
constraints: MediaStreamConstraints,
successCallback: NavigatorUserMediaSuccessCallback,
errorCallback: NavigatorUserMediaErrorCallback,
getVRDisplays(): Promise<VRDisplay[]>
requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: MediaKeySystemConfiguration[]): Promise<MediaKeySystemAccess>