@jimka/typescript-ui / core / ComponentOptions
Interface: ComponentOptions
Defined in: src/typescript/lib/core/Component.ts:74
Construction-time options for Component.
Every field is optional and maps to an existing setter on Component. Pass an options object as the trailing constructor argument to configure a component declaratively instead of issuing chained setter calls.
Extended by
PanelOptionsAnimatedDropdownOptionsTextOptionsInputOptionsDateFieldOptionsTimeFieldOptionsDateTimeFieldOptionsRadioButtonOptionsComboBoxOptionsOptionOptionsAutoCompleteFieldOptionsNumberSpinnerOptionsButtonOptionsImageOptionsGlyphOptionsIconTextOptionsIconLabelOptionsProgressBarOptionsProgressSpinnerOptionsPaginationBarOptionsListOptionsAbstractListOptionsListItemOptionsFieldSetOptionsMenuItemOptionsMenuSeparatorOptionsSplitGutterOptionsWindowBorderOptionsMenuBarButtonOptions
Properties
attributes?
optional attributes: Record<string, string>;Defined in: src/typescript/lib/core/Component.ts:102
backgroundColor?
optional backgroundColor: string;Defined in: src/typescript/lib/core/Component.ts:81
backgroundImage?
optional backgroundImage: string;Defined in: src/typescript/lib/core/Component.ts:82
border?
optional border: string | BorderOptions;Defined in: src/typescript/lib/core/Component.ts:85
borderRadius?
optional borderRadius: string;Defined in: src/typescript/lib/core/Component.ts:86
colorScheme?
optional colorScheme: string;Defined in: src/typescript/lib/core/Component.ts:84
components?
optional components: (
| Component<ComponentOptions>
| ConstrainedComponent)[];Defined in: src/typescript/lib/core/Component.ts:103
cursor?
optional cursor: string;Defined in: src/typescript/lib/core/Component.ts:89
display?
optional display: string;Defined in: src/typescript/lib/core/Component.ts:97
displayed?
optional displayed: boolean;Defined in: src/typescript/lib/core/Component.ts:77
foregroundColor?
optional foregroundColor: string;Defined in: src/typescript/lib/core/Component.ts:83
id?
optional id: string;Defined in: src/typescript/lib/core/Component.ts:101
insets?
optional insets: Insets;Defined in: src/typescript/lib/core/Component.ts:79
layoutManager?
optional layoutManager: LayoutManager;Defined in: src/typescript/lib/core/Component.ts:100
maxSize?
optional maxSize: Size;Defined in: src/typescript/lib/core/Component.ts:92
minSize?
optional minSize: Size;Defined in: src/typescript/lib/core/Component.ts:91
opacity?
optional opacity: number;Defined in: src/typescript/lib/core/Component.ts:95
outline?
optional outline: string;Defined in: src/typescript/lib/core/Component.ts:88
overflow?
optional overflow: string;Defined in: src/typescript/lib/core/Component.ts:98
padding?
optional padding: Insets;Defined in: src/typescript/lib/core/Component.ts:80
pointerEvents?
optional pointerEvents: string;Defined in: src/typescript/lib/core/Component.ts:99
position?
optional position: Position;Defined in: src/typescript/lib/core/Component.ts:96
preferredSize?
optional preferredSize: Size;Defined in: src/typescript/lib/core/Component.ts:90
shadow?
optional shadow: string;Defined in: src/typescript/lib/core/Component.ts:87
tag?
optional tag: string;Defined in: src/typescript/lib/core/Component.ts:75
transform?
optional transform: string;Defined in: src/typescript/lib/core/Component.ts:93
visible?
optional visible: boolean;Defined in: src/typescript/lib/core/Component.ts:76
willChange?
optional willChange: null | string;Defined in: src/typescript/lib/core/Component.ts:94
zIndex?
optional zIndex: number;Defined in: src/typescript/lib/core/Component.ts:78