sesaparcours
    Preparing search index...

    Interface BrowserJsPlumbDefaults

    Defaults for the BrowserUI implementation of jsPlumb.

    interface BrowserJsPlumbDefaults {
        allowNestedGroups?: boolean;
        anchor?: AnchorSpec;
        anchors?: [AnchorSpec, AnchorSpec];
        connectionOverlays?: OverlaySpec[];
        connectionsDetachable?: boolean;
        connector?: ConnectorSpec;
        container?: Element;
        dragOptions?: DragOptions;
        elementsDraggable?: boolean;
        endpoint?: EndpointSpec;
        endpointHoverStyle?: EndpointStyle;
        endpointHoverStyles?: [EndpointStyle, EndpointStyle];
        endpointOverlays?: OverlaySpec[];
        endpoints?: [EndpointSpec, EndpointSpec];
        endpointStyle?: EndpointStyle;
        endpointStyles?: [EndpointStyle, EndpointStyle];
        hoverClass?: string;
        hoverPaintStyle?: PaintStyle;
        listStyle?: ListSpec;
        managedElementsSelector?: string;
        maxConnections?: number;
        paintStyle?: PaintStyle;
        reattachConnections?: boolean;
        resizeObserver?: boolean;
        scope?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    allowNestedGroups?: boolean
    anchor?: AnchorSpec
    anchors?: [AnchorSpec, AnchorSpec]
    connectionOverlays?: OverlaySpec[]
    connectionsDetachable?: boolean
    connector?: ConnectorSpec
    container?: Element
    dragOptions?: DragOptions

    Options for dragging - containment, grid, callbacks etc.

    elementsDraggable?: boolean

    Whether or not elements should be draggable. Default value is true.

    endpoint?: EndpointSpec
    endpointHoverStyle?: EndpointStyle
    endpointHoverStyles?: [EndpointStyle, EndpointStyle]
    endpointOverlays?: OverlaySpec[]
    endpoints?: [EndpointSpec, EndpointSpec]
    endpointStyle?: EndpointStyle
    endpointStyles?: [EndpointStyle, EndpointStyle]
    hoverClass?: string
    hoverPaintStyle?: PaintStyle
    listStyle?: ListSpec
    managedElementsSelector?: string

    Specifies the CSS selector used to identify managed elements. This option is not something that most users of jsPlumb will need to set.

    maxConnections?: number
    paintStyle?: PaintStyle
    reattachConnections?: boolean
    resizeObserver?: boolean

    Defaults to true, indicating that a ResizeObserver will be used, where available, to allow jsPlumb to revalidate elements whose size in the DOM have been changed, without the library user having to call revalidate()

    scope?: string