@namiml/web-sdk
Version:
Subscription monetization infrastructure — drop-in SDK with no-code paywalls, onboarding flows, A/B testing for web
32 lines (31 loc) • 1.05 kB
TypeScript
import { CSSResult, TemplateResult } from 'lit';
import { NamiElement } from '../NamiElement';
import { TProgressBarComponent } from '@namiml/sdk-core';
import { TSemverObj } from '@namiml/sdk-core';
export declare class NamiProgressBar extends NamiElement {
component: TProgressBarComponent;
scaleFactor: number;
inFocusedState: boolean;
minSDKVersion: TSemverObj;
private currentProgress;
private isAnimating;
private screenreaderAnnouncement;
private hasInitialized;
private delayTimeoutId;
private animationFrameId;
private animationStartTime;
private startPercentage;
connectedCallback(): void;
disconnectedCallback(): void;
firstUpdated(changedProperties: any): void;
updated(changedProperties: any): void;
private cleanup;
private getResolvedDuration;
private startAnimation;
private beginAnimation;
private animateDeterminate;
private getActiveWidthCss;
private isActiveWidthPercent;
protected styles(): CSSResult;
render(): TemplateResult;
}