Skip to main content

Home > @jsplumbtoolkit/browser-ui > Surface > magnetizeAtEvent

Surface.magnetizeAtEvent() method#

Magnetize the elements in the display, using the location of the given event as the origin.

Signature:

magnetizeAtEvent(event: Event): void;

Parameters#

ParameterTypeDescription
eventEvent

Returns:

void