@salla.sa/twilight-components
Version:
Salla Web Component
37 lines (36 loc) • 920 B
TypeScript
/**
* @slot contact - Replaces contact item, has replaceable props `{icon}`, `{value}`.
*/
export declare class SallaContacts {
constructor();
private readonly contactSlot;
/**
* Section title for social block of footer.
*/
contactsTitle: string;
/**
* Flag to toggle title visibility.
*/
hideTitle: boolean;
/**
* Conditional flag to check whether the content is header or not.
*/
isHeader: boolean;
/**
* Flag to toggle list of contents whether vertical or horizontal.
*/
horizontal: boolean;
/**
* Flag condition to show icon only or icon with label
*/
iconsOnly: boolean;
host: HTMLElement;
contacts: any;
iconsList: any;
private getContactsArray;
private getContactLink;
private getContactIcon;
componentWillLoad(): Promise<unknown>;
render(): any;
componentDidRender(): void;
}