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

Function handleMask

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

* 处理遮罩层 * * + 设置遮罩层的点击事件 * @param config 传递的配置

(
    config = {} as {
      type: "alert" | "confirm" | "prompt" | "loading" | "iframe" | "drawer" | "folder" | "panel";
      guid: string;
      config:
        | Required<PopsAlertConfig>
        | Required<PopsLoadingConfig>
        | Required<PopsIframeConfig>
        | Required<PopsDrawerConfig>
        | Required<PopsPanelConfig>
        | Required<PopsFolderConfig>;
      animElement: HTMLElement;
      maskHTML: string;
    }
  )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

parseTextToDOMMethod · 0.80
clickEventFunction · 0.70
onMethod · 0.45

Tested by

no test coverage detected