expandDependencies: Private function to publish a dependency. Returns either the...

Description Usage Arguments Details

View source: R/util.R

Description

Cases when you'd want to return the output of publish(): dependency x is a javascript library or css file to be referenced in a <script> or <link> tag in <head>

Usage

1

Arguments

x

item to expand

Details

Cases when you'd want to return the output of readData(publish()): when the context for rendering a mustache template includes named viz items whose contents we want to include. For example: a page section's template has a text-before field, and the context for that section includes 'text-before: page_text.section3_text_before', and section3_text_before is a named item in page_text.yaml.


USGS-VIZLAB/vizlab documentation built on Nov. 17, 2018, 1:31 a.m.