Skip to contents

Useful for htmlwidgets

Usage

JS(...)

Arguments

...

Any valid JS element.

Value

A character vector with class "JS_EVAL" that can be used in htmlwidgets to mark is as a JavaScript function.