MCPcopy Create free account
hub / github.com/microsoft/SandDance / unmodalize

Function unmodalize

docs/app/js/sanddance-app.js:25699–25704  ·  view source on GitHub ↗

* Undoes the changes that modalize() did.

(affectedNodes)

Source from the content-addressed store, hash-verified

25697/**
25698 * Undoes the changes that modalize() did.
25699 */ function unmodalize(affectedNodes) {
25700 affectedNodes.forEach(function(node) {
25701 // set instead of removing in case other components explicitly set aria-hidden and do =="true" or =="false"
25702 node.setAttribute("aria-hidden", "false");
25703 });
25704}
25705
25706},{"./dom/getDocument":"bYcmK","@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"4Na99":[function(require,module,exports) {
25707var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");

Callers 1

modalizeFunction · 0.85

Calls 1

forEachMethod · 0.45

Tested by

no test coverage detected