Skip to content

units

Under Construction

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

Overview

These are the units that can be associated with Property instances.

When adding units to this file, please add abbreviations, preferably SI abbreviations. And keep the array alphabetized by value. See https://github.com/phetsims/phet-io/issues/530

@author Sam Reid (PhET Interactive Simulations)

Type Units

import type { Units } from 'scenerystack/axon';

"1/(cm*M)" | "%" | "A" | "AMU" | "atm" | "AU" | "AU^2" | "cm" | "cm^2" | "C" | "°" | "°C" | "eV" | "F" | "°F" | "g" | "G" | "Hz" | "J" | "K" | "kg" | "kg/m^3" | "kg/L" | "kg·m/s" | "km/s" | "kPa" | "L" | "L/s" | "m" | "m^3" | "m/s" | "m/s/s" | "m/s^2" | "mA" | "mm" | "mol" | "mol/L" | "mol/s" | "M" | "N" | "N/m" | "nm" | "nm/ps" | "ns" | "N·s/m" | "Ω" | "Ω·cm" | "Pa·s" | "particles/ps" | "pm" | "pm/ps" | "pm/s" | "pm/s^2" | "pm^3" | "ps" | "radians" | "radians/s" | "radians/s^2" | "rpm" | "s" | "V" | "view-coordinates/s" | "W" | "Wb" | "years"

Source Code

See the source for units.ts in the axon repository.