Class TJSInputText
Hierarchy
- SvelteComponent<TJSInputText.Props, TJSInputText.Events, TJSInputText.Slots>
- TJSInputText (View Summary)
Indexable
- [prop: string]: any
Index
Constructors
Methods
Constructors
constructor
Parameters
- options: ComponentConstructorOptions<TJSInputText.Props>
Returns TJSInputText
Methods
$destroy
Returns void
$on
Type Parameters
- K extends string
Parameters
- type: K
- callback: (e: TJSInputText.Events[K]) => void
Returns () => void
A generic input type has issues w/ 2-way binding w/ Svelte. https://github.com/sveltejs/svelte/issues/3921
A "hack" is used to set the type on the input element:
{...{ type }}Only use this component for text inputs presently. More work to come.
CSS Variables: