Palette: {
    mounted: (() => void);
    props: {
        selector: StringConstructor;
        surfaceId: StringConstructor;
    };
} = ...

Provides a mixin you can use to create a component that controls a set of droppable nodes for a Surface. See documentation for details.

Type declaration

  • mounted: (() => void)
      • (): void
      • Returns void

  • props: {
        selector: StringConstructor;
        surfaceId: StringConstructor;
    }
    • selector: StringConstructor
    • surfaceId: StringConstructor

Param: surfaceId

ID of the Surface to configure the palette to drop to.

Param: selector

CSS 3 selector identifying draggable child elements.

Version :