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

Function handleInit

lib/pops/src/handler/PopsHandler.ts:73–128  ·  view source on GitHub ↗

* 处理初始化 * @param $styleParent style元素的父元素 * @param css 添加进ShadowRoot的CSS

(
    $styleParent?: ShadowRoot | HTMLElement,
    css?:
      | string
      | string[]
      | {
          name?: string;
          css: string;
        }[]
  )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

trimMethod · 0.80
appendChildMethod · 0.80
initMethod · 0.65
createElementMethod · 0.45

Tested by

no test coverage detected