Package Exports
- @pixi/ticker
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@pixi/ticker) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@pixi/ticker
Installation
npm install @pixi/ticker
Usage
Create a Ticker object directly:
import { Ticker } from '@pixi/ticker';
const ticker = new Ticker();
ticker.start();
Use as an Application plugin:
import { TickerPlugin } from '@pixi/ticker';
import { Application } from '@pixi/app';
Application.registerPlugin(TickerPlugin);
const app = new Application();
app.ticker.start();