Sets up a VerticalLayout and loads classes to be ready to show a simulation from the springs namespace. JavaScript commands can be executed via Terminal to create the simulation. Those Terminal commands can be specified in an HTML file, or interactively via the Terminal interface.

Constructors

Methods

  • Define short-cut name replacement rules. For example 'sim' is replaced by 'myApp.sim' when myName is 'myApp'.

    Parameters

    • myName: string

      the name of this object, valid in global Javascript context.

    Returns void

  • Parameters

    • script: string
    • output: boolean = true

      whether to print the result to the output text area and add the script to session history; default is true

    Returns any

    the result of evaluating the string

Generated using TypeDoc