Skip to content

Commit 8f0dffe

Browse files
authored
docs: document View.removeChildView edge case (electron#43673)
1 parent 1c3a5ba commit 8f0dffe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/api/view.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ it becomes the topmost view.
5555

5656
* `view` View - Child view to remove.
5757

58+
If the view passed as a parameter is not a child of this view, this method is a no-op.
59+
5860
#### `view.setBounds(bounds)`
5961

6062
* `bounds` [Rectangle](structures/rectangle.md) - New bounds of the View.

0 commit comments

Comments
 (0)