stack

Home > @infiniteobjects/core-library-web > BrowserSupport

BrowserSupport class

Utilities to check browser support for various features

Signature:

export declare class BrowserSupport 

Methods

Method Modifiers Description
canvas() static Checks if the browser supports the Canvas 2D API
colorPicker() static Checks if the browser supports the color-picker element
dialog() static Checks if the browser supports the Dialog element
eyeDropper() static Checks if the browser supports the EyeDropper API
intersectionObserver() static Checks if the browser supports the IntersectionObserver API.
resizeObserver() static Checks if the browser supports the ResizeObserver API.
touchInput() static Checks if the browser supports touch input
trustedTypes() static Checks if the browser supports the trusted types API.
webGL() static Checks if the browser supports the WebGL API
webWorkers() static Checks if the browser supports the Web Worker API