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

Method getShadowValue

external/.scrollLibs.js:23940–23944  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23938 return this.element.classList.contains(name)
23939 }
23940 getShadowValue() {
23941 // todo: cleanup, add tests
23942 if (this.getShadowStumpParticle().isInputType()) return this.element.value
23943 return this.element.value || this.getShadowValueFromAttr()
23944 }
23945 addClassToShadow(className) {
23946 this.element.classList.add(className)
23947 this._logMessage("addClass")

Calls 3

isInputTypeMethod · 0.80

Tested by

no test coverage detected