Base class for standard and custom widget classes.
import { Component } from '@angular/core'; import { WidgetComponent } from '@alfresco/adf-core'; @Component({ selector: 'custom-editor', template: ` <div style="color: red">Look, I'm a custom editor!</div> ` }) class CustomEditorComponent extends WidgetComponent {}
Name | Type | Default value | Description |
---|---|---|---|
field | any | field. |
Name | Type | Description |
---|---|---|
fieldChanged | EventEmitter <any> | fieldChanged. |
The Widget component is the base class for all standard and custom form widgets. See the Form Extensibility and Customisation page for full details about implementing custom widgets.
© 2023 Alfresco Software, Inc. All Rights Reserved.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.