-
Notifications
You must be signed in to change notification settings - Fork 131
/
Copy pathtemplate.Rd
38 lines (32 loc) · 897 Bytes
/
template.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/templates.R
\name{js_handler_template}
\alias{js_handler_template}
\alias{js_template}
\alias{css_template}
\alias{sass_template}
\alias{empty_template}
\title{Golem's default custom templates}
\usage{
js_handler_template(path, name = "fun", code = " ")
js_template(path, code = " ")
css_template(path, code = " ")
sass_template(path, code = " ")
empty_template(path, code = " ")
}
\arguments{
\item{path}{The path to the JS script where this template will be written.}
\item{name}{Shiny's custom handler name.}
\item{code}{JavaScript code to be written in the function.}
}
\value{
Used for side effect
}
\description{
These functions do not aim at being called as is by
users, but to be passed as an argument to the \code{add_js_handler()}
function.
}
\seealso{
\code{\link[=add_js_handler]{add_js_handler()}}
}