MCPcopy Create free account
hub / github.com/Tencent/kbone / className

Method className

packages/miniprogram-render/src/node/element.js:520–524  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

518 }
519
520 get className() {
521 if (!this.$__classList) return ''
522
523 return this.$_classList.toString()
524 }
525
526 set className(className) {
527 if (typeof className !== 'string') return

Callers

nothing calls this directly

Calls 2

toStringMethod · 0.80
$$parseMethod · 0.80

Tested by

no test coverage detected