@salla.sa/twilight-components
Version:
Salla Web Component
50 lines (49 loc) • 1.12 kB
TypeScript
export declare class SallaBottomAlert {
constructor();
private drawer;
host: HTMLElement;
storeId: string;
template: any;
loading: boolean;
templateData: any;
defaultMessage: string;
defaultActionLabel: string;
storeFeatures: string;
storeDetails: string;
storePrice: string;
storePriceDetails: string;
theDeveloper: string;
templateInformation: string;
buyTheTemplate: string;
isRtl: boolean;
storeName: string;
salla: string;
readyStores: string;
moreDetailsLabel: string;
/**
* Alert Type
* */
type: 'link' | 'popup' | 'banner';
/**
* Alert Icon class from salla icons library - ex: sicon-user
* */
icon: string;
/**
* Alert Message
* */
message: string;
/**
* Button url - used when type is link
* */
actionUrl: string;
/**
* Button label - used when type is link and popup
* */
actionLabel: string;
componentDidLoad(): void;
private open;
private fetchTemplateData;
private handleAction;
popup(): any;
render(): any;
}