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