Function useJsonFormsCategorization
- useJsonFormsCategorization(props): {
categories: 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;
}>;
} Returns {
categories: 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;
}>;
}
categories: 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 'Categorization' elements.
Access bindings via the provided
categories
array with reactive category objects.