Welcome to the Alfresco Builder Network

Our technical resource site is still being improved. We'd love to hear your feedback. Tell us what you think

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
fieldanyData to be displayed in the field

Events

NameTypeDescription
fieldChangedEventEmitter<any>(

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

Interested in trying Alfresco?

Try Now