MCPcopy Index your code
hub / github.com/microsoft/SandDance / removeTabIndex

Function removeTabIndex

packages/sanddance-explorer/src/canvas.ts:11–16  ·  view source on GitHub ↗
(viewer: SandDance.Viewer)

Source from the content-addressed store, hash-verified

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

Callers 1

renderMethod · 0.90

Calls 1

getCanvasFunction · 0.70

Tested by

no test coverage detected