Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pwabuilder/pwainstall

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pwabuilder/pwainstall - npm Package Compare versions

Comparing version 0.9.9 to 0.9.10

coverage/build/index.html

2

package.json
{
"name": "@pwabuilder/pwainstall",
"version": "0.9.9",
"version": "0.9.10",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/pwa-install.js",

@@ -46,2 +46,5 @@ # pwa-install

| `descriptionheader` | `descriptionheader` | Controls the text of the description header | `string` | `Description` |
| `installbuttontext` | `installbuttontext` | Controls the text of the install button | `string` | `Install` |
| `cancelbuttontext` | `cancelbuttontext` | Controls the text of the cancel button | `string` | `Cancel` |
| `iosinstallinfotext`| `iosinstallinfotext`| Controls the iOS installation info text | `string` | `Tap the share button and then 'Add to Homescreen'` |

@@ -48,0 +51,0 @@ ### Methods

@@ -22,2 +22,5 @@ import {

@property() descriptionheader: string = "Description";
@property() installbuttontext: string = "Install";
@property() cancelbuttontext: string = "Cancel";
@property() iosinstallinfotext: string = "Tap the share button and then 'Add to Homescreen'";

@@ -526,3 +529,3 @@ static get styles() {

<slot>
Install
${this.installbuttontext}
</slot>

@@ -598,5 +601,5 @@ </button>` : null}

${!this.isIOS ? html`<div id="buttonsContainer">
${this.deferredprompt ? html`<button id="installButton" @click="${() => this.install()}">Install ${this.manifestdata.short_name}</button>` : html`<button @click="${() => this.cancel()}" id="installButton">Close</button>`}
${this.deferredprompt ? html`<button id="installButton" @click="${() => this.install()}">${this.installbuttontext} ${this.manifestdata.short_name}</button>` : html`<button @click="${() => this.cancel()}" id="installButton">${this.cancelbuttontext}</button>`}
</div>
</div>` : html`<p id="iosText">Tap the share button and then 'Add to Homescreen'</p>`}
</div>` : html`<p id="iosText">${this.iosinstallinfotext}</p>`}
`

@@ -603,0 +606,0 @@ : null

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc