Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "module/dom/getMousePos"

Index

Functions

Functions

getMousePos

  • getMousePos(e: MouseEvent): object
  • 获取鼠标的位置

    Parameters

    • e: MouseEvent

      触发的鼠标事件对象

    Returns object

    鼠标的坐标

    • x: number
    • y: number

Generated using TypeDoc