Skip to main content

Home > @jsplumbtoolkit/browser-ui > ContainmentType

ContainmentType enum

Containment types for draggables: parent: constrain movement so at least some part of the drag element is within its parent parentEnclosed: constrain movement to the entire drag element is within its parent notNegative: dont allow any part of the drag element to be in the negative x or y axis of its parent.

Signature:

export declare enum ContainmentType 

Enumeration Members

MemberValueDescription
notNegative"notNegative"
parent"parent"
parentEnclosed"parentEnclosed"