BaseMaterialInput constructor
BaseMaterialInput(
- @Self() @Optional() NgControl? _cd,
- ChangeDetectorRef _changeDetector,
- DeferredValidator validator
Implementation
BaseMaterialInput(@Self() @Optional() this._cd, this._changeDetector,
DeferredValidator validator) {
var call = this.call;
validator.add(call);
_disposer.addFunction(() {
// Kill the validator's handle on the input so that it can be GC'ed
validator.remove(call);
});
}