@salla.sa/twilight-components
Version:
Salla Web Component
45 lines (44 loc) • 998 B
TypeScript
export declare class SallaBottomAlert {
constructor();
private modal;
host: HTMLElement;
storeId: string;
template: any;
loading: boolean;
templateData: any;
defaultMessage: string;
defaultActionLabel: string;
storeFeatures: string;
storeDetails: string;
storePrice: string;
theDeveloper: string;
templateInformation: string;
buyTheTemplate: string;
isRtl: boolean;
/**
* 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;
private open;
private getDefaultMessage;
private handleTemplateRequest;
private handleAction;
popup(): any;
render(): any;
}