(viewer: SandDance.Viewer)
| 9 | } |
| 10 | |
| 11 | export function removeTabIndex(viewer: SandDance.Viewer) { |
| 12 | const canvas = getCanvas(viewer); |
| 13 | if (canvas) { |
| 14 | canvas.tabIndex = -1; |
| 15 | } |
| 16 | } |
| 17 | |
| 18 | export const capabilities = { |
| 19 | webgl: !!document.createElement('canvas').getContext('webgl'), |