JavaScript

From Displayr
Jump to navigation Jump to search

JavaScript is the scripting language of Displayr. It:

  • Is used for the creation of variables (Insert > Variable > JavaScript).
  • Is used for writing many functions the functions available from in-app menus.
  • Will, in the future, be made available to users wishing to extend the functionality of Displayr.

Displayr's implementation to JavaScript is identical to the implementation in Q, except that:

  • The GUIs of the two programs are different. For example, Displayr has a concept of a Page, whereas Q has a Variables and Questions tab and a Data Tab.
  • Variable Sets are referred to as Questions in Q.
  • Variable Set Structure is referred to as Question Types in Q, and the specific names of the different structures/types are different.

See the JavaScript section on the Q Wiki for more information.