template: Golem's default custom templates

js_handler_templateR Documentation

Golem's default custom templates

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

js_handler_template(path, name = "fun", code = " ")

js_template(path, code = " ")

css_template(path, code = " ")

sass_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 June 7, 2023, 5:46 p.m.