MCPcopy
hub / github.com/negomi/react-burger-menu / applyOverflow

Function applyOverflow

lib/menuFactory.js:275–277  ·  view source on GitHub ↗
(el)

Source from the content-addressed store, hash-verified

273 // decide if they want to set the overflow style in CSS using the custom
274 // class names
275 var applyOverflow = function applyOverflow(el) {
276 return el.style['overflow-x'] = set ? 'hidden' : '';
277 };
278 if (!props.htmlClassName) {
279 applyOverflow(document.querySelector('html'));
280 }

Callers 1

handleExternalWrapperFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected