bindRadialTrigger
import { bindRadialTrigger } from 'pixi-silk/ui/radial';
function bindRadialTrigger(
target: Container,
menu: RadialMenu,
options?: RadialTriggerOptions
): () => void;
Makes target open menu (which must already be on the stage). Sets the target’s eventMode to
static when it was not interactive. Returns a function that unbinds it.
Parameters#
| Parameter | Type |
|---|---|
target | Container |
menu | RadialMenu |
options | RadialTriggerOptions |
Returns#
() => void