Package 'jquerylib'

Title: Obtain 'jQuery' as an HTML Dependency Object
Description: Obtain any major version of 'jQuery' (<https://code.jquery.com/>) and use it in any webpage generated by 'htmltools' (e.g. 'shiny', 'htmlwidgets', and 'rmarkdown'). Most R users don't need to use this package directly, but other R packages (e.g. 'shiny', 'rmarkdown', etc.) depend on this package to avoid bundling redundant copies of 'jQuery'.
Authors: Carson Sievert [aut, cre] , Joe Cheng [aut], RStudio [cph], jQuery Foundation [cph] (jQuery library and jQuery UI library), jQuery contributors [ctb, cph] (jQuery library; authors listed in inst/lib/jquery-AUTHORS.txt)
Maintainer: Carson Sievert <[email protected]>
License: MIT + file LICENSE
Version: 0.1.4
Built: 2024-11-17 06:34:25 UTC
Source: CRAN

Help Index


Obtain jQuery Core as an HTML dependency

Description

Obtain jQuery Core as an HTML dependency

Usage

jquery_core(major_version = 3, minified = getOption("shiny.minified",
  TRUE))

Arguments

major_version

The major version of jQuery Core. Currrently 1, 2, and 3 are supported.

minified

whether or not to provide a minified JavaScript file.

Value

A htmltools::htmlDependency() object.