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

Method element

external/.scrollLibs.js:23881–23884  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23879WillowBrowser._stumpsOnPage = 0
23880class WillowBrowserShadow extends AbstractWillowShadow {
23881 get element() {
23882 if (!this._cachedEl) this._cachedEl = document.querySelector(`[${WillowConstants.uidAttribute}="${this.getShadowStumpParticle()._getUid()}"]`)
23883 return this._cachedEl
23884 }
23885 getShadowValueFromAttr() {
23886 return this.element.getAttribute(WillowConstants.value)
23887 }

Callers

nothing calls this directly

Calls 2

_getUidMethod · 0.80

Tested by

no test coverage detected