Skip to main content

Home > @jsplumbtoolkit/browser-ui-vue2 > BaseGroupComponent

BaseGroupComponent variable#

Provides a mixin you should use to create a component that renders a group.

Usage:

Vue.component('MyGroup', { props:[ ... ], mixins:[ jsPlumbToolkitVue2.BaseGroupComponent], template:'...your group template.......', methods:{     ... }})

Signature:

BaseGroupComponent: {    methods: {        getGroup: () => any;        getToolkit: () => any;        removeGroup: (removeChildNodes?: boolean) => void;        updateGroup: (data: any) => void;    };}