concerto.template.show: Show template to test participant.

Description Usage Arguments Value Author(s) Examples

View source: R/concerto.template.show.R

Description

Display template to test participant.

Usage

1
2
3
4
5
concerto.template.show(templateID = -1, HTML = "", head = "",
  params = list(), timeLimit = 0, finalize = FALSE,
  workspaceID = concerto$workspaceID, effectShow = "default",
  effectShowOptions = "default", effectHide = "default",
  effectHideOptions = "default")

Arguments

templateID

Template ID or name.

HTML

Template HTML.

head

Template head tag.

params

Named list with parameters we want to be inserted into template HTML.

timeLimit

Time limit after which template will be auto submitted (in seconds).

finalize

Logical: TRUE if after this template there is no more logic available.

workspaceID

Concerto workspace ID where template object is located.

effectShow

Template show transition effect.

effectShowOptions

Template show transition effect options list.

effectHide

Template hide transition effect.

effectHideOptions

Template hide transition effect options list.

Value

Returns a named list with template specific input gathered from user and static variables:

Author(s)

Przemyslaw Lis

Examples

1
2
3
4
5
## Not run: 
response1 <- concerto.template.show(1)
response2 <- concerto.template.show(HTML='<div align='center'>Hello world!</div>')

## End(Not run)

wbuchanan/concerto documentation built on May 4, 2019, 2 a.m.