MCPcopy
hub / github.com/microsoft/SandDance / isElementFocusZone

Function isElementFocusZone

docs/app/js/sanddance-app.js:24686–24688  ·  view source on GitHub ↗
(element)

Source from the content-addressed store, hash-verified

24684 return checkTabIndex ? tabIndex !== -1 && result : result;
24685}
24686function isElementFocusZone(element) {
24687 return !!(element && element.getAttribute && !!element.getAttribute(FOCUSZONE_ID_ATTRIBUTE));
24688}
24689function isElementFocusSubZone(element) {
24690 return !!(element && element.getAttribute && element.getAttribute(FOCUSZONE_SUB_ATTRIBUTE) === "true");
24691}

Callers 2

getPreviousElementFunction · 0.85
getNextElementFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected