MCPcopy Create free account
hub / github.com/breck7/scroll / shadowHasClass

Method shadowHasClass

external/.scrollLibs.js:23937–23939  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

23935 return this.element.getBoundingClientRect()
23936 }
23937 shadowHasClass(name) {
23938 return this.element.classList.contains(name)
23939 }
23940 getShadowValue() {
23941 // todo: cleanup, add tests
23942 if (this.getShadowStumpParticle().isInputType()) return this.element.value

Callers

nothing calls this directly

Calls 1

containsMethod · 0.80

Tested by

no test coverage detected