getApp
Returns the context of the parent Application component
Application creates a Renderer, Ticker and Container, so you can consume their contexts as well.
import { getApplication } from 'svelte-pixi'
const { app } = getApplication()
Name | Type | Description |
---|---|---|
app |
PIXI.Application |
The PIXI.Application instance |