@ue-too/board-pixi-react-integration / index / TeardownTarget
Interface: TeardownTarget
Defined in: board-pixi-react-integration/src/hooks/pixi/teardown.ts:3
The slice of BaseAppComponents the teardown needs. Structural so it can be unit-tested without a Pixi renderer.
Properties
app
app:
object
Defined in: board-pixi-react-integration/src/hooks/pixi/teardown.ts:6
destroy()
destroy(
rendererOptions,options):void
Parameters
rendererOptions
removeView
boolean
options
children
boolean
Returns
void
cleanup()
cleanup: () =>
void
Defined in: board-pixi-react-integration/src/hooks/pixi/teardown.ts:4
Returns
void
cleanups
cleanups: () =>
void[]
Defined in: board-pixi-react-integration/src/hooks/pixi/teardown.ts:5
Returns
void