Skip to content

Commit

Permalink
Add phetioDocumentation, see #827
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Sep 8, 2022
1 parent 9719c1d commit fe966e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions js/NavigationBar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ class NavigationBar extends Node {

const isUserNavigableProperty = new BooleanProperty( true, {
tandem: Tandem.GENERAL_MODEL.createTandem( 'screens' ).createTandem( 'isUserNavigableProperty' ),
phetioFeatured: true
// TODO: phetioDocumentation, see https://github.com/phetsims/joist/issues/827
phetioFeatured: true,
phetioDocumentation: 'If the screens are user navigable, icons are displayed in the navigation bar and the user can switch between screens.'
} );

// pdom - container for the homeButton and all the screen buttons.
Expand Down
4 changes: 2 additions & 2 deletions js/Sim.ts
Original file line number Diff line number Diff line change
Expand Up @@ -490,8 +490,8 @@ export default class Sim extends PhetioObject {
tandem: screensTandem.createTandem( 'availableScreensProperty' ),
isValidValue: value => _.some( validValues, validValue => _.isEqual( value, validValue ) ),
phetioFeatured: true,
phetioValueType: ArrayIO( NumberIO )
// TODO: phetioDocumentation, see https://github.com/phetsims/joist/issues/827
phetioValueType: ArrayIO( NumberIO ),
phetioDocumentation: 'Controls which screens are available, and the order they are displayed.'
} );

this.activeSimScreensProperty = new DerivedProperty( [ this.availableScreensProperty ], screenIndices => {
Expand Down

0 comments on commit fe966e2

Please sign in to comment.