import '../../globals.js';
import optionize from '../../phet-core/js/optionize.js';
import sun from './sun.js';
import ToggleSwitch from './ToggleSwitch.js';
export default class OnOffSwitch extends ToggleSwitch {
    constructor(property, providedOptions) {
        const options = optionize()({
            trackFillLeft: 'white', // track fill when property.value === false
            trackFillRight: 'rgb( 0, 200, 0 )' // track fill when property.value === true
        }, providedOptions);
        super(property, false, true, options);
    }
}
sun.register('OnOffSwitch', OnOffSwitch);
//# sourceMappingURL=OnOffSwitch.js.map