@skhemata/skhemata-form
Version:
Skhemata Form Web Component. This web component can be used as base web component when working with forms and inputs.
31 lines (30 loc) • 938 B
TypeScript
import { CSSResult } from '@skhemata/skhemata-base';
import { FontAwesomeIcon } from '@riovir/wc-fontawesome';
import { SkhemataFormInput } from './SkhemataFormInput';
export declare class SkhemataFormDropdown extends SkhemataFormInput {
static get styles(): CSSResult[];
static get scopedElements(): {
'fa-icon': typeof FontAwesomeIcon;
};
horizontal: boolean;
description: string;
selected: string;
label: string;
menuOpen: boolean;
required: boolean;
name: string;
placeholder: string;
errorMessage: string;
submitOnSelect: boolean;
valid: boolean;
helpClass: string;
reset(): void;
validate(): void;
clearError(): void;
setDefaultValue(value?: string): void;
firstUpdated(): Promise<void>;
handleKeydown(event: any): void;
handleSelectValue(event: any): void;
toggleMenu(): void;
render(): import("lit-html").TemplateResult<1>;
}