@skhemata/skhemata-blog
Version:
Skhemata Blog Web Component. This web component provides several sub components in addition to main component, allowing featured blogs, blog listing and blog post display.
34 lines (33 loc) • 894 B
TypeScript
/**
*
* Lit Blog Search Element
*
* */
import { CSSResult, SkhemataBase } from '@skhemata/skhemata-base';
import { SkhemataFormTextbox } from '@skhemata/skhemata-form';
export declare class SkhemataBlogSearch extends SkhemataBase {
blogPagePath: string;
searchedBlogPosts: string;
translationData: {
eng: {
SkhemataBlogSearch: {
searchPlaceholder: string;
};
};
};
searchTerm: String | null;
static get scopedElements(): {
'sk-form-textbox': typeof SkhemataFormTextbox;
};
static get styles(): CSSResult[];
constructor();
/**
* Implement `render` to define a template for your element.
* Use JS template literals
*/
protected render(): import("lit-html").TemplateResult<1>;
/**
* Search posts when value is entered
*/
onSearch(event: any): void;
}