Class TJSSlotLabel
                 
                    
                  Hierarchy
              
              - SvelteComponent<TJSSlotLabel.Props, TJSSlotLabel.Events, TJSSlotLabel.Slots>- TJSSlotLabel (View Summary)
 
Indexable
- [prop: string]: any
Index
Constructors
Methods
Constructors
constructor
- Parameters- options: ComponentConstructorOptions<TJSSlotLabel.Props>
 - Returns TJSSlotLabel
Methods
$destroy
- Returns void
$on
- Type Parameters- K extends string
 - Parameters- type: K
- callback: (e: CustomEvent<any>) => void
 - Returns () => void
Provides a slotted component wrapped in a label element. The
labelprop can either be a string or a Svelte configuration object to be used as the label text. 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. Optionally, there are CSS variables available to change thedisplayand additional flex layout configuration possibilities.CSS Variables
The following CSS variables control the associated styles with the default values: