class

Hwaro::Models::PwaConfig

Inherits Reference / Object

PWA (Progressive Web App) configuration

Constants

VALID_STRATEGIES = ["cache-first", "network-first", "stale-while-revalidate"] of ::String

Constructors

Instance methods

background_color
Source
background_color=(background_color : String)
Source
cache_strategy
Source
cache_strategy=(cache_strategy : String)
Source
display
Source
display=(display : String)
Source
enabled
Source
enabled=(enabled : Bool)
Source
icons
Source
icons=(icons : Array(String))
Source
name
Source
name=(name : String | Nil)
Source
offline_page
Source
offline_page=(offline_page : String | Nil)
Source
precache_urls
Source
precache_urls=(precache_urls : Array(String))
Source
short_name
Source
short_name=(short_name : String | Nil)
Source
start_url
Source
start_url=(start_url : String)
Source
theme_color
Source
theme_color=(theme_color : String)
Source