Skip to content

PwaSettings

The PwaSettings object represents settings of PWA in the storefront.

classDiagram
  direction LR
  PwaSettings --> Url
  class PwaSettings{
    string fullName
    string shortName
    string backgroundColor
    string applicationColor
    ?Url icon
  }
  class Url{
  }

Properties

Attribute name Type Description
fullName string Represents full name for PWA.
shortName string Represents short name for PWA.
backgroundColor string Represents background color chosen in color picker for PWA.
applicationColor string Represents application color chosen in color picker for PWA.
icon null|Url Reference to the Url object that provides url to uploaded icon.

Examples

fullName property

{{ pwaSettings.fullName }}
Full name

shortName property

{{ pwaSettings.shortName }}
Name short

backgroundColor property

{{ pwaSettings.backgroundColor }}
#4DFF00

applicationColor property

{{ pwaSettings.applicationColor }}
#BF0000

icon property

{{ pwaSettings.icon }}
/userdata/public/pwa/icons/icon.png