-
Notifications
You must be signed in to change notification settings - Fork 0
placeholder
Evgenii Koriakin edited this page Jul 8, 2016
·
3 revisions
The hint displayed by the component when the value is not selected.
Value: ''
Type: String
Sets placeholder
field:
HTML:
<eq-combo-box #fabricsComboBox
[placeholder]="'Select fabric...'">
</eq-combo-box>
TypeScript:
export class AppComponent {
@ViewChild('fabricsComboBox') fabricsComboBox: EqwadComboBox;
}
Gets placeholder
field:
HTML:
<eq-combo-box #fabricsComboBox
[placeholder]="'Select fabric...'">
</eq-combo-box>
TypeScript:
export class AppComponent {
@ViewChild('fabricsComboBox') fabricsComboBox: EqwadComboBox;
constructor() {
setTimeout(() => {
let placeholder = this.fabricsComboBox.placeholder;
}, 1000);
}
}