Next (Synchronous Embedding) Previous (Custom Manipulators)

Detecting WebGL

No WebGL

If WebGL is not supported in the target browser, The css class no-webgl will be added to the element. Also, an event of type no-webgl will be triggered:

document.getElementById('my-clara-scene').addEventListener('no-webgl', function (e) {
  console.log('No WebGL Available');
}, false);

Next (Synchronous Embedding) Previous (Custom Manipulators)