Hwaro::Models::PwaConfig
PWA (Progressive Web App) configuration
Constants
VALID_DISPLAYS = ["fullscreen", "standalone", "minimal-ui", "browser"] of ::String
Web App Manifest display members. Anything else makes browsers
silently fall back to browser, so an unknown value is coerced (with
a warning) the same way cache_strategy is.
VALID_STRATEGIES = ["cache-first", "network-first", "stale-while-revalidate"] of ::String
Constructors
new
SourceInstance methods
background_color
Sourcecache_strategy
Sourcedisplay
Sourceenabled
Sourceicons
Sourcename
Sourceoffline_page
Sourceprecache_urls
Sourceshort_name
Sourcestart_url
Sourcetheme_color
Source