import { bindMeasure } from 'pixi-silk/selection';
function bindMeasure<T>(
selection: Selection<T>,
measure: MeasureLike<NoInfer<T>>,
options?: BindMeasureOptions
): {
stop: () => void;
sync: () => void;
};
Shows the primary item’s size and the distances to the hovered item with measure. Call the
returned sync again when a condition of between changes (a modifier key). The returned
stop stops following.
Type Parameters#
Parameters#
Returns#
{
stop: () => void;
sync: () => void;
}
| Name | Type | Defined in |
|---|
stop() | () => void | selection.ts:276 |
sync() | () => void | selection.ts:276 |