loadDependencies: Returns a set of tags required for registering the pwa.

Description Usage Arguments Value See Also

View source: R/dependencies.R

Description

Returns a set of tags required for registering the pwa.

Usage

1
loadDependencies(title, icon, color, location)

Arguments

title

Title of the app

icon

Relative path of the icon file used in the pwa manifest file (Defaults to pwa/icon.png).

color

color used for the UI on the installed pwa

location

subdirectory where the app is hosted. Only required if the app is not on the root domain.

Value

A UI definition that can be passed to the [shinyUI] function.

See Also

[generateFiles()]


shiny.pwa documentation built on June 19, 2021, 5:06 p.m.