pixi-extra-events

0.1.3 • Public • Published

Overview

Adds two additional touch events and ensures equivalent pointer events are fired for touches:

  • touchover
  • touchout
  • pointerover
  • pointerout

Based on comment by @alanthai.

Installation

Requires pixi.js as a peer dependency

  1. npm i -S pixi.js
  2. npm i -S pixi-extra-events

Usage

Pass in your own pixi object.

const PIXI = require( 'pixi.js' );
const extraEvents = require( 'pixi-extra-events' );
extraEvents( PIXI );

Tests

TODO

Package Sidebar

Install

npm i pixi-extra-events

Weekly Downloads

13

Version

0.1.3

License

MIT

Last publish

Collaborators

  • justinlivi