Skip to content

PropertyFractionNode

Under Construction

This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/scenery-phet/blob/main/js/PropertyFractionNode.js for the most up-to-date information.

Overview

Displays a fraction based on a numerator/denominator Property pair.

@author Jonathan Olson <jonathan.olson@colorado.edu>

Class PropertyFractionNode

import { PropertyFractionNode } from 'scenerystack/scenery-phet';

Constructor

new PropertyFractionNode( numeratorProperty, denominatorProperty, options )

Instance Methods

updateFromProperties()

Updates our display based on our Property values. @private

dispose()

Releases references. @public @override

Source Code

See the source for PropertyFractionNode.js in the scenery-phet repository.