ngClassInvalid property

  1. @HostBinding('class.ng-invalid')
bool get ngClassInvalid

Implementation

@HostBinding('class.ng-invalid')
bool get ngClassInvalid {
  var control = _cd.control;
  return control != null ? !control.valid : false;
}