loadDependencies {shiny.pwa}R Documentation

Returns a set of tags required for registering the pwa.

Description

Returns a set of tags required for registering the pwa.

Usage

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()]


[Package shiny.pwa version 0.2.1 Index]