template: Golem's default custom templates

Description Usage Arguments Value See Also

Description

These functions do not aim at being called as is by users, but to be passed as an argument to the add_js_handler() function.

Usage

1
2
3
4
5
js_handler_template(path, name = "fun", code = " ")

js_template(path, code = " ")

css_template(path, code = " ")

Arguments

path

The path to the JS script where this template will be written.

name

Shiny's custom handler name.

code

JavaScript code to be written in the function.

Value

Used for side effect

See Also

add_js_handler()


golem documentation built on April 17, 2021, 9:06 a.m.