UNPKG

@yelon/form

Version:

Angular form generation based on JSON-Schema.

18 lines (17 loc) 545 B
import type { NuMonacoEditorEvent, NuMonacoEditorModel } from '@ng-util/monaco-editor'; import type { SFUISchemaItem } from '@yelon/form'; export interface MonacoEditorWidgetSchema extends SFUISchemaItem { options?: any; delay?: number; change?: (value: string) => void; model?: NuMonacoEditorModel; /** * Height of monaco editor, default: `200px` */ height?: string; /** * Whether to automatically format the document */ autoFormat?: boolean; event?: (ev: NuMonacoEditorEvent) => void; }