0.0.12 • Published 1 year ago

@oasis-engine/pointer-polyfill v0.0.12

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Pointer Event Polyfill

image

This polyfill can solve the problem of onPointerXXX callback exceptions in the Oasis script life cycle due to some browsers not supporting PointerEvent.

Usage

Install the npm package (please use the latest version of the package)

npm install @oasis-engine/pointer-polyfill

import

import "@oasis-engine/pointer-polyfill";

QA

Q:Need to judge whether PointerEvent is supported before importing?

A:Unnecessary.

Q.Why not write directly into the engine?

A:Pointer is the future, so this adaptation may not be needed in the near future.

0.0.11

1 year ago

0.0.12

1 year ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.5

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.4

2 years ago

0.0.1

2 years ago