UNPKG

@krobotech/v-form-builder

Version:

Vue Form Builder PRO MAX built from top of Vue. Super dynamic and flexible including Drag and Drop feature.

46 lines (35 loc) 866 B
import ControlView from "@/views/renderer/ControlView"; import {STYLE_INJECTION_MIXIN} from "@/mixins/style-injection-mixin"; const RENDERER_SECTION_VIEW_MIXIN = { components: { ControlView // Show Control }, mixins: [STYLE_INJECTION_MIXIN], props: { section: Object, rows: Object, controls: Object, valueContainer: Object, validationErrors: Object, readOnly: Boolean, }, data: () => ({ }), methods: { }, computed: { /** * Classes for draggable * @returns {(string|string)[]} */ containerClasses() { return [ this.styles.ROW, 'control-list-container' ] } }, }; export { RENDERER_SECTION_VIEW_MIXIN }