Skip to content

Commit

Permalink
Update documentation, see #1046
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed May 29, 2020
1 parent 04dcfce commit 0d765f0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions js/nodes/Node.js
Original file line number Diff line number Diff line change
Expand Up @@ -3186,6 +3186,10 @@ inherit( PhetioObject, Node, {
/**
* Sets what Property our visibleProperty is backed by, so that changes to this provided Property will change this
* node's visibility, and vice versa.
*
* Note that all instrumented Nodes create their own instrumented visibleProperty (if one is not passed in as an option).
* Once a Node's visibleProperty has been registered with PhET-iO, it cannot be "swapped out" for another.
*
* @public
*
* @param {Property.<boolean>|null} property
Expand Down

0 comments on commit 0d765f0

Please sign in to comment.