Does some manual dirty checking on the native input `value` property.
()
| 455 | |
| 456 | /** Does some manual dirty checking on the native input `value` property. */ |
| 457 | protected _dirtyCheckNativeValue() { |
| 458 | const newValue = this._elementRef.nativeElement.value; |
| 459 | |
| 460 | if (this._previousNativeValue !== newValue) { |
| 461 | this._previousNativeValue = newValue; |
| 462 | this.stateChanges.next(); |
| 463 | } |
| 464 | } |
| 465 | |
| 466 | /** Does some manual dirty checking on the native input `placeholder` attribute. */ |
| 467 | private _dirtyCheckPlaceholder() { |