@skhemata/skhemata-faq
Version:
Skhemata FAQ Web Component. This web component provides website FAQ functionality with question and answer style of FAQ.
54 lines (53 loc) • 1.68 kB
TypeScript
/**
*
* Lit Faq parent component to handle routing
*
* */
import { SkhemataBase, CSSResult } from '@skhemata/skhemata-base';
import { SkhemataFaqList } from './component/SkhemataFaqList';
import { SkhemataFaqPost } from './component/SkhemataFaqPost';
import { SkhemataFaqSearch } from './component/SkhemataFaqSearch';
import { SkhemataFaqCategories } from './component/SkhemataFaqCategories';
/**
* Use the customElement decorator to define your class as
* a custom element. Registers <my-element> as an HTML tag.
*/
export declare class SkhemataFaq extends SkhemataBase {
apiWordpress: {
url: string;
};
faqPagePath: string;
postsPerPage: number;
pagerType: string;
slug?: string;
translationData: {
eng: {
SkhemataFaqPost: {
backToFaq: string;
tags: string;
categories: string;
};
SkhemataFaqList: {
showMoreButton: string;
};
SkhemataFaqSearch: {
searchPlaceholder: string;
};
SkhemataFaqCategories: {
categoriesTitle: string;
allCategories: string;
};
};
};
static get scopedElements(): {
'skhemata-faq-list': typeof SkhemataFaqList;
'skhemata-faq-post': typeof SkhemataFaqPost;
'skhemata-faq-search': typeof SkhemataFaqSearch;
'skhemata-faq-categories': typeof SkhemataFaqCategories;
};
static get styles(): CSSResult[];
constructor();
handleNavigate(e: CustomEvent): void;
handleGoBack(): void;
render(): import("lit-html").TemplateResult<1>;
}