import { type Navigator } from "https://deno.land/x/yxz@0.32.0/typing/lib.dom.ts";
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
clipboard: ClipboardAvailable only in secure contexts.
readonly
credentials: CredentialsContainerAvailable only in secure contexts.
readonly
geolocation: Geolocationreadonly
mediaCapabilities: MediaCapabilitiesreadonly
mediaDevices: MediaDevicesAvailable only in secure contexts.
readonly
mediaSession: MediaSessionreadonly
permissions: Permissionsreadonly
serviceWorker: ServiceWorkerContainerAvailable only in secure contexts.
Methods
getGamepads(): (Gamepad | null)[]
requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: MediaKeySystemConfiguration[]): Promise<MediaKeySystemAccess>
Available only in secure contexts.
vibrate(pattern: VibratePattern): boolean