* Invalidates view's contents. * * Downward propagating; once called, all subviews of this view should also * be invalidated.
()
| 88 | * be invalidated. |
| 89 | */ |
| 90 | setNeedsDisplay() { |
| 91 | this._needsDisplay = true; |
| 92 | if (this.superview) { |
| 93 | this.superview._setSubviewsNeedDisplay(); |
| 94 | } |
| 95 | this.subviews.forEach(subview => subview.setNeedsDisplay()); |
| 96 | } |
| 97 | |
| 98 | /** |
| 99 | * Informs superview that it has subviews that need to be drawn. |
no test coverage detected