Skip to main content

Home > @jsplumb/core > LightweightFloatingAnchor

LightweightFloatingAnchor class#

Signature:

export declare class LightweightFloatingAnchor implements LightweightAnchor 

Implements: LightweightAnchor

Constructors#

ConstructorModifiersDescription
(constructor)(instance, element)Constructs a new instance of the LightweightFloatingAnchor class

Properties#

PropertyModifiersTypeDescription
cssClassstring
currentLocationnumber
elementany
idstring
instanceJsPlumbInstance
isContinuousfalse
isDynamicfalse
isFloatingboolean
locationsany[]
lockedboolean
orientationOrientation
sizeSize
timestampstring
typestring

Methods#

MethodModifiersDescription
out()notification the endpoint associated with this anchor is no longer hovering over another anchor; we should resume calculating orientation as we normally do.
over(endpoint)notification the endpoint associated with this anchor is hovering over another anchor; we want to assume that anchor's orientation for the duration of the hover.