Skip to content

API Reference ​

The public API of @dynamicforms/vuetify-modal-form-kit. Runnable demos are in Examples.

TopicDescription
<df-modal>The dialog component. Used directly for a dialog declared in a template, opened and closed through v-model.
<modal-view>Draws the dialogs the modal service opens. Mounted once, in the app root; it has no props.
modal servicePromise-based API for opening dialogs from code (modal.message, modal.yesNo, modal.custom), rendered by <modal-view>. The promise it returns closes the dialog, carries what settled it, and reads and changes the open dialog.

Examples: Modal Dialog (from code) and Template Dialog (in a template).

Form layouts ​

TopicDescription
FormBuilderProgrammatic API for building responsive Vuetify grid layouts (FormBuilder, Row, Column, component builder).
<form-render>Renders a layout - the builder or its JSON - as a Vuetify grid, resolving the breakpoints it holds.
<component-render>Renders one component of a layout, resolving its name against the components map, the global registrations and the nested-form renderer. Use it to build a renderer of your own.

Examples: FormBuilder.

Released under the MIT License.