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

Method stumpParticleHasClass

external/.scrollLibs.js:22827–22830  ·  view source on GitHub ↗
(className)

Source from the content-addressed store, hash-verified

22825 return this
22826 }
22827 stumpParticleHasClass(className) {
22828 const classParser = this.getParticle("class")
22829 return classParser && classParser.atoms.includes(className) ? true : false
22830 }
22831 isStumpParticleCheckbox() {
22832 return this.get("type") === "checkbox"
22833 }

Callers 1

dragoverHandlerMethod · 0.80

Calls 1

getParticleMethod · 0.45

Tested by

no test coverage detected