Skip to content

isEnabled

Evgenii Koriakin edited this page Jul 21, 2016 · 2 revisions

Summary

Determines whether the component is enabled.

Default value

Value: true

Returns

Type: Boolean

Examples

Sets isEnabled field:

HTML:

<eq-combo-box #fabricsComboBox
    [isEnabled]="false">
</eq-combo-box>

TypeScript:

export class AppComponent {
    @ViewChild('fabricsComboBox') fabricsComboBox: EqwadComboBox;
}

Gets itemValueField field:

HTML:

<eq-combo-box #fabricsComboBox
    [isEnabled]="false">
</eq-combo-box>

TypeScript:

export class AppComponent {
    @ViewChild('fabricsComboBox') fabricsComboBox: EqwadComboBox;

    constructor() {
        setTimeout(() => {
            let isEnabled = this.fabricsComboBox.isEnabled;
        }, 1000);
    }
}
Clone this wiki locally