Jump to navigation

Class: JMEPartDisplay

Numbas.display.JMEPartDisplay

Members

(static) correctAnswer :observable|JME

The correct answer

Type:
Source:

(static) correctAnswerLaTeX :observable|TeX

The correct answer, in LaTeX form

Type:
Source:

(static) inputHasFocus :observable|boolean

Does the input box have focus?

Type:
Source:

(static) showPreview :boolean

Should the LaTeX rendering of the student's answer be shown?

Type:
Source:

(static) studentAnswer :observable|JME

The student's current answer (not necessarily submitted)

Type:
Source:

(static) studentAnswerLaTeX :observable|TeX

The student's answer, in LaTeX form

Type:
Source:

Methods

setName(name)

Set this part's name.

Parameters:
Name Type Description
name string
Inherited From:
Source:

(static) focusInput()

Give the input box focus

Source: