Skip to main content

Home > @jsplumbtoolkit/core > MagnetizerRunOptions > filter

MagnetizerRunOptions.filter property#

Optional function used to filter elements from being affected by the magnetizer. They are still taken into account when magnetizing the other elements, unless you set excludeFocus:true.

Signature:

filter?: FilterFunction<T>;