Class: IFCAccordion

IFCAccordion

Represents a reusable accordion component.

new IFCAccordion(summaryText)

Interactions/IFC/interact/GoIFCComponents/shared/IFCAccordion.ts, line 1

Initializes the accordion component.

Name Type Description
summaryText

The text to display in the accordion summary.

Members

container

Gets the container element of the accordion.

Methods

addItem(item)

Interactions/IFC/interact/GoIFCComponents/shared/IFCAccordion.ts, line 32

Adds an item to the accordion.

Name Type Description
item

The item to add.