View source: R/render_survey.R
Main magic happens in js$renderSurvey()
JavaScript function.
1 | render_survey(id_container, id_answers, survey_json)
|
id_container |
id which has to match id from |
id_answers |
will write answers internally to |
survey_json |
json object imported with |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.