MCPcopy Create free account
hub / github.com/adobe/react-spectrum / isThumbEditable

Function isThumbEditable

packages/react-stately/src/slider/useSliderState.ts:289–291  ·  view source on GitHub ↗
(index: number)

Source from the content-addressed store, hash-verified

287 }
288
289 function isThumbEditable(index: number) {
290 return isEditablesRef.current[index];
291 }
292
293 function setThumbEditable(index: number, editable: boolean) {
294 isEditablesRef.current[index] = editable;

Callers 2

updateValueFunction · 0.85
updateDraggingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected