Skip to content

charton API


charton API / @chart-on/core / index / isWebGL2Supported

Function: isWebGL2Supported() ​

isWebGL2Supported(): boolean

Defined in: packages/core/src/errors.ts:96

Whether this browser can create a WebGL2 context, which the chart needs. Checked once on a detached canvas whose context is released straight away; later calls return the cached answer.

Returns ​

boolean