MCPcopy Create free account
hub / github.com/PaulleDemon/PyUIBuilder / resetStyle

Function resetStyle

src/components/utils/panzoom.js:82–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

80 )
81
82 function resetStyle() {
83 parent.style.overflow = ''
84 parent.style.userSelect = ''
85 parent.style.touchAction = ''
86 parent.style.cursor = ''
87 elem.style.cursor = ''
88 elem.style.userSelect = ''
89 elem.style.touchAction = ''
90 setStyle(elem, 'transformOrigin', '')
91 }
92
93 function setOptions(opts = {}) {
94 for (const key in opts) {

Callers 1

destroyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected