Nothing
#' Create a parallax image
#'
#' Use this function to create a parallax effect in your application.
#' @param image_source String. The image file name. Place the image in a folder labeled 'www' at the same level as the application (server.R & ui.R).
#' @examples
#' material_parallax(
#' image_source = "example_image.jpg"
#' )
material_parallax <- function(image_source){
create_material_object(
js_file =
"shiny-material-parallax.js",
material_tag_list =
shiny::tagList(
shiny::tags$div(
class="parallax-container",
shiny::tags$div(
class = "parallax",
shiny::tags$img(
src = image_source
)
)
)
)
)
}
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.