Eugenio Romano c3452a4f62
Documentation build (#6762)
* move doc dependency in doctools

* add ignore link

* rebuild doc

* version index

* put it back some deps
2021-03-03 14:08:15 +00:00

1.3 KiB

Title, Added, Status, Last reviewed
Title Added Status Last reviewed
Widget component v2.0.0 Active 2018-03-29

Widget component

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>
    `
})
export class CustomEditorComponent extends WidgetComponent {}

Class members

Properties

Name Type Default value Description
field any field.

Events

Name Type Description
fieldChanged EventEmitter<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