@pwabuilder/pwainstall
Advanced tools
Comparing version 1.2.1 to 1.2.2
{ | ||
"name": "@pwabuilder/pwainstall", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/pwa-install.js", |
@@ -18,3 +18,3 @@ import { | ||
@property({ type: Boolean }) hasprompt: boolean = false; | ||
@property({ type: Boolean }) usecustom: boolean = false; | ||
@property({ type: Boolean }) usecustom: boolean; | ||
@@ -718,3 +718,3 @@ @property({ type: String }) explainer: string = "This app can be installed on your PC or mobile device. This will allow this web app to look and behave like any other installed app. You will find it in your app lists and be able to pin it to your home screen, start menus or task bars. This installed web app will also be able to safely interact with other apps and your operating system. " | ||
return html` | ||
${!this.usecustom && this.installed !== true || this.shouldShowInstall() && this.installed !== true ? html`<button id="openButton" @click="${() => this.openPrompt()}"> | ||
${this.usecustom !== true || this.shouldShowInstall() && this.installed !== true ? html`<button id="openButton" @click="${() => this.openPrompt()}"> | ||
<slot> | ||
@@ -721,0 +721,0 @@ ${this.installbuttontext} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
772315