Learn R Programming

jsReact (version 0.2.4)

add_script_from_file: Add Javascript from file to body

Description

Add Javascript from file to body

Usage

add_script_from_file(my_html, file, ...)

Arguments

my_html

html in a vector of strings; output from 'create_html'.

file

filepath to the JS file

...

Other parameter passing to tag attributes.