Ugrás a fő tartalomhoz

v1.0.10

· Egy perc olvasás
John Renfrew
Programmer and data architect

Version 1.0.10 internal test release

  • surveyjs theme editor prep work

Theme editor

SurveyJS has a Theme Editor which provides a method to preview a modified theme for the/ elements. This is saved as a JSON definition file, which can then be injected into the code for rendering the page, along with the definition JSON.
It does mean (although I am not going to recommend this), that each task, or similar group of tasks, could have their own theme. The following samples show tasks with the default theme over-ridden.

  • Sample 1 is for student use, has three buttons for different actions, different colours and hover state
  • Sample 2 is a simple confirmation task for supervisors, with Czech translation as the 'description'
  • Sample 3 has a link to a downloadable file, with an upload widget, to demonstrate the idea of offline answers