Encapsulates all values needed for solving a circuit and the function of the web page.

Constructors

Properties

allValuesMap: Map<any, any> = ...
apis: APIs = ...
checkBtnParallelAlreadyClicked: boolean = false
checkBtnSeriesAlreadyClicked: boolean = false
currentCircuitIndex: number = 0
currentCircuitMap: CircuitMap | WheatstoneCircuitMap = null
currentOption: number = 0
currentSelector: Selector | ExternalInput = null
currentStep: int = 0
currentWheatstoneValuesPath: string = ""
doneCurrents: any[] = []
doneVoltages: any[] = []
extraLiveUsed: boolean = false
fileForQrCode: any = null
gamification: boolean = false
hardcodedStepSolverAPI: HardcodedStepSolverAPI = null
html5QrCode: any = null
isScanning: boolean = false
kirchhoffAddTime: TimeVal = ...
kirchhoffBaseTime: TimeVal = ...
lives: number = 3
loadingProgress: int = 0
options: any[] = []
overviewSvgsLoadedPromise: Promise<any> = null
pictureCounter: number = 0
pyodide: any = null
pyodideReady: boolean = false
relation: string = "null"
selectedElements: string[] = []
selectedSvgsZip: any = null
selectedZipDir: any = null
selectorsBuild: boolean = false
selectPageBuild: boolean = false
sessionId: any = null
shakeAlreadySetup: boolean = false
simplifierAddTime: TimeVal = ...
simplifierBaseTime: TimeVal = ...
solverLoaded: boolean = false
solvers: Solvers = ...
solversReady: boolean = false
speedMode: { div: any; duration: any; requestId: any; startTime: any } = ...
step0Data: StepObject = {}
stepSolverAPI: StepSolverAPI = null
timeSliderStepSize: TimeVal = ...
trackerIntervalMap: Map<string, int> = ...
unknown: string = ""
valuesShown: Map<any, any> = ...
voltEquations: any[] = []

Accessors

  • get currentCircuitFromEditor(): boolean

    Returns boolean

  • get currentCircuitFromQrScan(): boolean

    Returns boolean

  • get currentCircuitFromUserZip(): boolean

    Returns boolean

  • get selectedZipDirName(): string

    Returns string

    returns the name of the selected zip directory or an empty string if customFiles is not set yet