nodegame-widgets
Collection of reusable components (widgets) for nodeGame.
Widgets can display timers, count rounds, display total earnings, draw Chernoff faces and much more.
Collections of useful and reusable javascript / HTML snippets for nodeGame
Collection of reusable components (widgets) for nodeGame.
Widgets can display timers, count rounds, display total earnings, draw Chernoff faces and much more.
highlight
and markAttempt
true by default.EndScreen
widget displays information such earnings, exit code, feedback and email forms.Feedback
widget (compatible as Choice-Like widget).EmailForm
widget (compatible as Choice-Like widget).#Widget.addFrame()
and #Widget.removeFrame()
display/remove the border and margins around the bodyDiv element of the widget.frame
can be passed as an option to the #node.widgets.append()
method and if FALSE it behaves like #Widget.removeFrame()
.LanguageSelector
sets Window URI prefix and notify server of language selections, according to options.init()
method from all widget's contructor (it is called automatically by API).node.widgets.lastAppended
.#Widgets.isWidget()
returns TRUE if object is widget-like (see inline comment).ChoiceTable.setValues()
does not unsets the value if new selected value is the same as previous.ChoiceTableGroup.unsetCurrentChoice()
.#ChoiceTable.shuffle()
and #ChoiceTableGroup.shuffle()
.Widgets.destroy()
#VisualTimer.clear()
with the new option introduced in 0.6.5startOnPlaying
, and stopOnDone
to VisualTimer.