bindGizmo
import { bindGizmo } from 'pixi-silk/selection';
function bindGizmo<T>(
selection: Selection<T>,
gizmo: GizmoLike<T>,
options?: BindGizmoOptions
): () => void;
Attaches gizmo to the primary item. Returns the function that stops following.
Type Parameters#
| Type Parameter |
|---|
T |
Parameters#
| Parameter | Type |
|---|---|
selection | Selection<T> |
gizmo | GizmoLike<T> |
options | BindGizmoOptions |
Returns#
() => void