Skip to main content

Home > @jsplumbtoolkit/browser-ui-vue3 > BaseNodeComponent

BaseNodeComponent variable

Provides a mixin you should use to create a component that renders a node. See documentation for details.

Signature:

BaseNodeComponent: {
mixins: {
props: {
obj: ObjectConstructor;
toolkit: typeof BrowserUIVue3;
vertex: typeof Vertex;
surface: typeof Surface;
el: {
new (): Element;
prototype: Element;
};
def: ObjectConstructor;
eventInfo: ObjectConstructor;
};
mounted(): void;
methods: {
getToolkit: () => any;
removeVertex: () => void;
};
updated(): void;
}[];
methods: {
getNode: () => any;
removeNode: () => void;
updateNode: (data: any) => void;
};
}