Class TJSInput
Hierarchy
- SvelteComponent<TJSInput.Props, TJSInput.Events, TJSInput.Slots>
- TJSInput (View Summary)
Indexable
- [prop: string]: any
Index
Constructors
Methods
Constructors
constructor
Parameters
- options: ComponentConstructorOptions<TJSInput.Props>
Returns TJSInput
Provides a generic "input" component that creates the specific input component based on 'type'. If no
typeproperty is available in the input objecttextis the default.You may optionally define a label either as
input.labelor through thelabelprop as a string. The label element usesdisplay: contentswhich ignores the label element and lays out the children as if the label element does not exist which is perfect for a grid layout.The available
typeprops include:CSS Variables
The following CSS variables control the associated styles with the default values: