MCPcopy Create free account
hub / github.com/CanadaHonk/shadow / classes

Method classes

engine/dom.js:55–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53
54 _classesCache;
55 get classes() {
56 if (this._classesCache) return this._classesCache;
57 return this._classesCache = this.className.split(' ');
58 }
59
60 get previousSiblings() {
61 return !this.parent ? [] : this.parent.children.slice(0, this.parent.children.indexOf(this));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected