# PointerEvent

On the PC side Weixin Mini Program, the Mini Program component will trigger the pointer event.You can use the pointer event to implement the ability to delink, right-click and other customization. Pointer events are basically wrappers of pointer events based on web standards.

Documentation of the web standard pointer event: https://developer.mozilla.org/zh-CN/docs/Web/API/Pointer_events

Examples:

  <view
    bind:pointerdown="pointerdown"
    bind:pointerup="pointerup"
    bind:pointermove="pointermove"
    class="intro">
  测试代码
  </view>

Test code snippet - right click response: https://developers.weixin.qq.com/s/l1pW2qmy7RZJ