MCPcopy Create free account
hub / github.com/WhiteSevs/TamperMonkeyScript / addClassName

Method addClassName

lib/pops/src/utils/PopsDOMUtils.ts:1741–1768  ·  view source on GitHub ↗

* 添加className * @param $el 目标元素 * @param args className属性

(
    $el: Element | undefined | null,
    ...args: (string | string[] | (() => string | string[]) | undefined | null)[]
  )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

createToolTipMethod · 0.80
initFunction · 0.80
setAsideItemIsVisitedFunction · 0.80
setElementClassNameFunction · 0.80
createBottomItemFunction · 0.80
createAsideItemFunction · 0.80
setStatusFunction · 0.80
disableFunction · 0.80
disableDragFunction · 0.80
initEleFunction · 0.80
initFunction · 0.80
setItemSelectedFunction · 0.80

Calls 4

forEachMethod · 0.80
trimMethod · 0.80
filterMethod · 0.65
addMethod · 0.45

Tested by

no test coverage detected