UNPKG

svantic

Version:

A set of Fomantic-UI components for Svelte framework

94 lines (93 loc) 2.28 kB
/** @typedef {typeof __propDef.props} InputProps */ /** @typedef {typeof __propDef.events} InputEvents */ /** @typedef {typeof __propDef.slots} InputSlots */ export default class Input extends SvelteComponentTyped<{ minLength: any; maxLength: any; min: any; max: any; pattern: any; value: any; class?: string; inverted?: boolean; icon?: string; style?: {}; size?: string; color?: string; placeholder?: string; type?: string; state?: string; fluid?: boolean; labeled?: string; corner?: boolean; action?: string; transparent?: boolean; textarea?: boolean; }, { focus: FocusEvent; focusin: FocusEvent; focusout: FocusEvent; blur: FocusEvent; input: Event; change: Event; keydown: KeyboardEvent; keypress: KeyboardEvent; keyup: KeyboardEvent; mount: CustomEvent<any>; } & { [evt: string]: CustomEvent<any>; }, { left: {}; default: {}; right: {}; }> { } export type InputProps = typeof __propDef.props; export type InputEvents = typeof __propDef.events; export type InputSlots = typeof __propDef.slots; import { SvelteComponentTyped } from "svelte"; declare const __propDef: { props: { minLength: any; maxLength: any; min: any; max: any; pattern: any; value: any; class?: string; inverted?: boolean; icon?: string; style?: {}; size?: string; color?: string; placeholder?: string; type?: string; state?: string; fluid?: boolean; labeled?: string; corner?: boolean; action?: string; transparent?: boolean; textarea?: boolean; }; events: { focus: FocusEvent; focusin: FocusEvent; focusout: FocusEvent; blur: FocusEvent; input: Event; change: Event; keydown: KeyboardEvent; keypress: KeyboardEvent; keyup: KeyboardEvent; mount: CustomEvent<any>; } & { [evt: string]: CustomEvent<any>; }; slots: { left: {}; default: {}; right: {}; }; }; export {};