Variable SurfaceDropConst

SurfaceDrop: {
    mounted: (() => void);
    props: {
        allowDropOnCanvas: {
            type: BooleanConstructor;
        };
        allowDropOnEdge: {
            type: BooleanConstructor;
        };
        allowDropOnGroup: {
            type: BooleanConstructor;
        };
        canvasDropFilter: PropType<CanvasDropFilter<ObjectData>>;
        canvasSelector: StringConstructor;
        dataGenerator: {
            type: PropType<DataGeneratorFunction<BrowserElement>>;
        };
        dragSize: PropType<Size>;
        groupIdentifier: PropType<GroupIdentifierFunction<BrowserElement>>;
        onVertexAdded: PropType<OnVertexAddedCallback>;
        selector: {
            type: StringConstructor;
        };
        surfaceId: {
            default: string;
            type: StringConstructor;
        };
        typeGenerator: {
            type: PropType<TypeGeneratorFunction<BrowserElement>>;
        };
    };
} = ...

Component to assist in adding drag/drop of new nodes/groups. This uses the SurfaceDropManager under the hood - for most applications this will be sufficient. If you need finer-grained control, check out the DragDrop component. See SurfaceDropMixinProps for a definition of this mixin's props.

Version :