editor/monaco-editor-marker.directive.ts
Validator
OnDestroy
Providers |
{
provide: NG_VALIDATORS, useExisting: forwardRef(() => MonacoEditorMarkerValidatorDirective), multi: true
}
|
Selector | c8y-editor [monacoEditorMarkerValidator] |
Standalone | true |
Methods |
constructor(editorComponent: EditorComponent, zone: NgZone)
|
|||||||||
Parameters :
|
ngOnDestroy |
ngOnDestroy()
|
Returns :
void
|
registerOnValidatorChange | ||||||
registerOnValidatorChange(fn: () => void)
|
||||||
Parameters :
Returns :
void
|
validate | ||||||
validate(_control: AbstractControl
|
||||||
Parameters :
Returns :
ValidationErrors
|