Bodylight.js
Docs
GitHub
›
API
Getting started
Introduction
Compiling Modelica
Simple project
Creating a simple project
Adding the model
Visualisation
Controls
Events and Actions
Physiological application
Pressure volume cardiac simulator
Creating the layout
Adding the heart
Heart Beat
Controls
Phases
Pressure volume chart
Rolling charts
Custom actions
Buttons
Finishing touches
API
Model
Plotly chart
Range
Toggle
Toggle
getValue()
const
value = toggle.getValue()
Returns the current
boolean
value.
←
Range
getValue()