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

Function handleClickEvent

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

* 处理点击事件 * @param type 当前按钮类型 * @param $btn 按钮元素 * @param eventConfig 事件配置,由popsHandler.handleEventConfig创建的 * @param callback 点击回调

(
    type: PopsHandlerEventConfig<E>["type"],
    $btn: HTMLElement,
    eventConfig: PopsEventConfig<E>,
    callback?: (details: PopsHandlerEventConfig<E>, event: PointerEvent | MouseEvent) => void
  )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

callbackFunction · 0.50
onMethod · 0.45
assignMethod · 0.45

Tested by

no test coverage detected