Web SDK Reference | Browser compatibility
The canVisualizeForBrowser()
method tests if the browser has the required dependencies to visualize the web configurator. Required dependencies are:
Support for webGL
Support for web workers
Returns
The function returns true if the browser is compatible, false otherwise.
Type | Description |
---|---|
| A boolean flag indicating if the browser is compatible. |
Example
let isCompatible = window.twikit.canVisualizeForBrowser();
if (isCompatible) {
console.warn('Browser is not compatible.');
}
List of officially supported browsers
Chrome
Edge
Firefox
Opera
Safari
Android webview
Chrome for Android
Firefox for Android
Opera for Android
Safari on iOS
Samsung Internet