docs(HostBindingMetadata): Removed brackets from host bindings in HostBindingsMetadata example
Closes #6941
This commit is contained in:
parent
aa98fad338
commit
24d5b665e1
|
@ -1071,8 +1071,8 @@ export class OutputMetadata {
|
|||
* @Directive({selector: '[ngModel]'})
|
||||
* class NgModelStatus {
|
||||
* constructor(public control:NgModel) {}
|
||||
* @HostBinding('[class.valid]') get valid { return this.control.valid; }
|
||||
* @HostBinding('[class.invalid]') get invalid { return this.control.invalid; }
|
||||
* @HostBinding('class.valid') get valid { return this.control.valid; }
|
||||
* @HostBinding('class.invalid') get invalid { return this.control.invalid; }
|
||||
* }
|
||||
*
|
||||
* @Component({
|
||||
|
|
Loading…
Reference in New Issue