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
Parameter | Type | Description |
---|---|---|
event | Event |
Returns:
void