UNPKG

833 BTypeScriptView Raw
1/**
2 * The ratio between physical pixels and device-independent pixels
3 * (dips) on the device (window.devicePixelRatio).
4 */
5export const DEVICE_PIXEL_RATIO: number;
6/**
7 * User agent string says we are dealing with Firefox as browser.
8 */
9export const FIREFOX: boolean;
10/**
11 * Image.prototype.decode() is supported.
12 */
13export const IMAGE_DECODE: boolean;
14/**
15 * User agent string says we are dealing with a Mac as platform.
16 */
17export const MAC: boolean;
18export const PASSIVE_EVENT_LISTENERS: boolean;
19/**
20 * User agent string says we are dealing with Safari as browser.
21 */
22export const SAFARI: boolean;
23/**
24 * User agent string says we are dealing with a WebKit engine.
25 */
26export const WEBKIT: boolean;
27/**
28 * The execution context is a worker with OffscreenCanvas available.
29 */
30export const WORKER_OFFSCREEN_CANVAS: boolean;