Documentation
Preparing search index...
pwa
PWA
Class PWA
Index
Constructors
constructor
Properties
native
Install
Prompt
Accessors
headless
iframe
mobile
platform
pwa
Methods
prompt
setup
Constructors
constructor
new
PWA
(
api
:
Api
)
:
PWA
Parameters
api
:
Api
Returns
PWA
Properties
native
Install
Prompt
nativeInstallPrompt
:
any
= null
Capture Install Event
Accessors
headless
get
headless
()
:
boolean
Returns
boolean
iframe
get
iframe
()
:
boolean
Returns
boolean
mobile
get
mobile
()
:
boolean
Returns
boolean
platform
get
platform
()
:
"android"
|
"ios"
|
"mac"
|
"windows"
|
"linux"
|
"unknown"
Returns
"android"
|
"ios"
|
"mac"
|
"windows"
|
"linux"
|
"unknown"
pwa
get
pwa
()
:
boolean
Returns
boolean
Methods
prompt
prompt
(
platform
?:
"android"
|
"ios"
)
:
Promise
<
void
>
Prompt user to install the app
Parameters
Optional
platform
:
"android"
|
"ios"
Returns
Promise
<
void
>
setup
setup
(
manifest
?:
any
)
:
Promise
<
void
>
Setup the PWA
Parameters
manifest
:
any
= {}
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
native
Install
Prompt
Accessors
headless
iframe
mobile
platform
pwa
Methods
prompt
setup
Documentation
Loading...
Capture Install Event