Variable BaseGroupComponentConst

BaseGroupComponent: {
    methods: {
        getGroup: (() => any);
        removeGroup: ((removeChildNodes?) => void);
        updateGroup: ((data) => void);
    };
    mixins: {
        methods: {
            getToolkit: (() => any);
            removeVertex: (() => void);
        };
        props: {
            def: ObjectConstructor;
            el: {
                prototype: Element;
                new (): Element;
            };
            eventInfo: ObjectConstructor;
            obj: ObjectConstructor;
            surface: typeof Surface;
            toolkit: typeof BrowserUIVue3;
            vertex: typeof Vertex;
        };
        mounted(): void;
        updated(): void;
    }[];
} = ...

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

Type declaration

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

      Gets the underlying group from the model.

        • (): any
        • Returns any

    • removeGroup: ((removeChildNodes?) => void)

      Removes the group this component represents from the model.

        • (removeChildNodes?): void
        • Parameters

          • Optional removeChildNodes: boolean

          Returns void

    • updateGroup: ((data) => void)

      Updates the underlying group in the model.

        • (data): void
        • Parameters

          • data: any

          Returns void

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