PointerEvent Polyfill for Galacean
npm install @galacean/pointer-polyfill
English | 简体中文
This polyfill can solve the problem of onPointerXXX callback exceptions in the Galacean script life cycle due to some browsers not supporting PointerEvent.
``sh`
npm install @galacean/pointer-polyfill
`javascript``
import "@galacean//pointer-polyfill";
A:Unnecessary.
A:Pointer is the future, so this adaptation may not be needed in the near future.