UNPKG

@namiml/web-sdk

Version:

Subscription monetization infrastructure — drop-in SDK with no-code paywalls, onboarding flows, A/B testing for web

29 lines (28 loc) 941 B
import type { IPaywall, TPaywallLaunchContext, NamiCampaign, NamiFlow } from '@namiml/sdk-core'; import { LitElement } from 'lit'; export declare class NamiPaywallScreen extends LitElement { paywall: IPaywall; campaign: NamiCampaign; context: TPaywallLaunchContext; active: boolean; private contextProvider; private contextConsumer; private minSDKVersion; timeSpentOnPaywall: number; flow?: NamiFlow; private teardownEvent; private activeTemplate; private footerResizeObserver?; static styles: import("lit").CSSResult; connectedCallback(): void; disconnectedCallback(): void; private userInteractionListener; firstUpdated(): void; protected updated(): void; private updateActiveRenderRoot; private observeFooterHeight; private postImpression; private postPaywallScreenData; private getTemplate; render(): import("lit-html").TemplateResult<1>; }