MCPcopy
hub / github.com/plotly/dash / scrollbarWidth.ts

File scrollbarWidth.ts

components/dash-table/src/core/browser/scrollbarWidth.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1export default (target: HTMLElement): Promise<number> => {
2 const parent = document.createElement('div');
3 parent.style.position = 'absolute';
4 parent.style.visibility = 'hidden';

Callers

nothing calls this directly

Calls 2

appendChildMethod · 0.80
removeChildMethod · 0.80

Tested by

no test coverage detected