htmlDependencies: HTML dependency metadata

Description Usage Arguments Details

View source: R/html_dependency.R

Description

Gets or sets the HTML dependencies associated with an object (such as a tag).

Usage

1
2
3
4
5

Arguments

x

An object which has (or should have) HTML dependencies.

value

An HTML dependency, or a list of HTML dependencies.

append

If FALSE (the default), replace any existing dependencies. If TRUE, add the new dependencies to the existing ones.

Details

attachDependencies provides an alternate syntax for setting dependencies. It is similar to local({htmlDependencies(x) <- value; x}), except that if there are any existing dependencies, attachDependencies will add to them, instead of replacing them.


yjalbert/htmltools documentation built on May 28, 2017, 9:42 a.m.