@jimka/typescript-ui / layout / AccordionConstraints
Class: AccordionConstraints
Defined in: src/typescript/lib/layout/AccordionConstraints.ts:11
Layout constraints for child components added to an Accordion container. Provides the header label and initial open state for each collapsible section.
Extends
Constructors
new AccordionConstraints()
new AccordionConstraints(label: string, initiallyOpen?: boolean): AccordionConstraintsDefined in: src/typescript/lib/layout/AccordionConstraints.ts:23
Parameters
label
string
Text displayed in the section header.
initiallyOpen?
boolean
Whether the section starts expanded. Defaults to false.
Returns
Overrides
Properties
anchor?
optional anchor: null | AnchorType = null;Defined in: src/typescript/lib/layout/LayoutConstraints.ts:17
Inherited from
closeable?
optional closeable: boolean;Defined in: src/typescript/lib/layout/LayoutConstraints.ts:21
Inherited from
data?
optional data: any;Defined in: src/typescript/lib/layout/LayoutConstraints.ts:20
Inherited from
description?
optional description: null | string = null;Defined in: src/typescript/lib/layout/LayoutConstraints.ts:15
Inherited from
fill?
optional fill: null | FillType = null;Defined in: src/typescript/lib/layout/LayoutConstraints.ts:16
Inherited from
ignoreParentInsets?
optional ignoreParentInsets: boolean = false;Defined in: src/typescript/lib/layout/LayoutConstraints.ts:19
Inherited from
LayoutConstraints.ignoreParentInsets
initiallyOpen?
optional initiallyOpen: boolean;Defined in: src/typescript/lib/layout/AccordionConstraints.ts:17
Whether the section starts expanded. Defaults to false if omitted.
label
label: string;Defined in: src/typescript/lib/layout/AccordionConstraints.ts:14
Text displayed in the section's header button.
name?
optional name: null | string = null;Defined in: src/typescript/lib/layout/LayoutConstraints.ts:14
Inherited from
placement?
optional placement: Placement;Defined in: src/typescript/lib/layout/LayoutConstraints.ts:18
Inherited from
weight?
optional weight: number;Defined in: src/typescript/lib/layout/LayoutConstraints.ts:22