MCPcopy
hub / github.com/testing-library/dom-testing-library / computeAriaBusy

Function computeAriaBusy

src/role-helpers.js:252–255  ·  view source on GitHub ↗

* @param {Element} element - * @returns {boolean} -

(element)

Source from the content-addressed store, hash-verified

250 * @returns {boolean} -
251 */
252function computeAriaBusy(element) {
253 // https://www.w3.org/TR/wai-aria-1.1/#aria-busy
254 return element.getAttribute('aria-busy') === 'true'
255}
256
257/**
258 * @param {Element} element -

Callers 1

queryAllByRoleFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected