Function useJsonFormsLayout
- useJsonFormsLayout(props): {
layout: ComputedRef<{
cells: JsonFormsCellRendererRegistryEntry[];
config: any;
data: any;
direction: NonNullable<"row" | "column">;
enabled: boolean;
label: string;
path: string;
renderers: JsonFormsRendererRegistryEntry[];
schema: NonNullable<JsonSchema>;
uischema: NonNullable<Layout & UISchemaElement>;
visible: boolean;
}>;
} Returns {
layout: ComputedRef<{
cells: JsonFormsCellRendererRegistryEntry[];
config: any;
data: any;
direction: NonNullable<"row" | "column">;
enabled: boolean;
label: string;
path: string;
renderers: JsonFormsRendererRegistryEntry[];
schema: NonNullable<JsonSchema>;
uischema: NonNullable<Layout & UISchemaElement>;
visible: boolean;
}>;
}
layout: ComputedRef<{
cells: JsonFormsCellRendererRegistryEntry[];
config: any;
data: any;
direction: NonNullable<"row" | "column">;
enabled: boolean;
label: string;
path: string;
renderers: JsonFormsRendererRegistryEntry[];
schema: NonNullable<JsonSchema>;
uischema: NonNullable<Layout & UISchemaElement>;
visible: boolean;
}>
Provides bindings for 'Layout' elements, e.g. VerticalLayout, HorizontalLayout, Group.
Access bindings via the provided reactive 'layout' object.