Nothing
#' #name#
#'
#' Incremental button.
#'
#' @param inputId Id of input.
#' @param value Initial value.
#'
#' @examples
#' library(shiny)
#'
#' ui <- fluidPage(
#' #name#Input("theId", 0)
#' )
#'
#' server <- function(input, output){
#'
#' observeEvent(input$theId, {
#' print(input$theId)
#' })
#'
#' }
#'
#' if(interactive())
#' shinyApp(ui, server)
#'
#' @importFrom shiny tags tagList
#'
#' @export
#name#Input <- function(inputId, value = 0){
stopifnot(!missing(inputId))
stopifnot(is.numeric(value))
dep <- htmltools::htmlDependency(
name = "#name#Binding",
version = "1.0.0",
src = c(file = system.file("packer", package = "#pkgname#")),
script = "#name#.js"
)
tagList(
dep,
tags$button(
id = inputId,
class = "#name#Binding btn btn-default",
type = "button",
value
)
)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.