Base class for standard and custom widget classes.

Basic Usage

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 {}

Class members

Properties

NameTypeDefault valueDescription
fieldanyfield.

Events

NameTypeDescription
fieldChangedEventEmitter<any>fieldChanged.

Details

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.

See also

© 2023 Alfresco Software, Inc. All Rights Reserved.