Browse Source

docs: document View.removeChildView edge case (#43727)

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Niklas Wenzel <[email protected]>
trop[bot] 7 months ago
parent
commit
ca2a30c484
1 changed files with 2 additions and 0 deletions
  1. 2 0
      docs/api/view.md

+ 2 - 0
docs/api/view.md

@@ -55,6 +55,8 @@ it becomes the topmost view.
 
 * `view` View - Child view to remove.
 
+If the view passed as a parameter is not a child of this view, this method is a no-op.
+
 #### `view.setBounds(bounds)`
 
 * `bounds` [Rectangle](structures/rectangle.md) - New bounds of the View.