Skip to content

Commit

Permalink
Indicated phetioFeatured components, see phetsims/graphing-quadratics…
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Nov 17, 2018
1 parent 04ee849 commit 44e0a69
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions js/Slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ define( function( require ) {

enabledProperty: null, // see below
enabledRangeProperty: null, // see below
enabledPropertyOptions: null, // see below

// phet-io
tandem: Tandem.required,
Expand All @@ -112,10 +113,10 @@ define( function( require ) {
var ownsEnabledRangeProperty = !options.enabledRangeProperty;

// phet-io, Assign default options that need tandems.
options.enabledProperty = options.enabledProperty || new Property( true, {
options.enabledProperty = options.enabledProperty || new Property( true, _.extend( {
tandem: options.tandem.createTandem( 'enabledProperty' ),
phetioType: PropertyIO( BooleanIO )
} );
}, options.enabledPropertyOptions ) );

// controls the portion of the slider that is enabled
options.enabledRangeProperty = options.enabledRangeProperty || new Property( range, {
Expand Down

0 comments on commit 44e0a69

Please sign in to comment.