Namespace: WrapperUtils

WrapperUtils

A collection of utility functions and constants for creating PhET-iO wrappers. Available in the main PhET-iO js import.

Members

(static, constant) SIMULATION_NAME

The hyphenated name of the simulation

(static, constant) SIMULATION_VERSION

The version of the simulation

Methods

(static) getSim(name, version, optionsopt) → {WrapperUtilsSimData}

Get information about the simulation that can be used for SimIFrameClient and general wrapper development
Parameters:
Name Type Attributes Description
name string the lowercase, hyphenated sim name, such as beers-law-lab
version string the sim version
options Object <optional>
Returns:
Type
WrapperUtilsSimData