UNPKG

@swishapp/browser

Version:

JS library to integrate Swish into a browser environment.

27 lines (26 loc) 745 B
export declare class ShopBridge extends HTMLElement { readonly swish: import("..").SwishApp; private readonly emailInput; private readonly shopModalObserver; constructor(); disconnectedCallback(): void; load(): Promise<void>; update(changes: any): void; } declare global { interface Window { Shopify?: { featureAssets?: { "shop-js"?: { "init-customer-accounts"?: string[]; }; }; SignInWithShop?: { initCustomerAccounts?: (enabled: boolean, options: { fedCMEnabled: boolean; windoidEnabled: boolean; }) => void; }; }; } }