new GoIFCSideContent(GoIFCUI)
Constructor for the GoIFCSideContent class.
| Name | Type | Description |
|---|---|---|
GoIFCUI |
GoIFCUI |
The GoIFCUI instance to be associated with this side content component. |
Extends
- undefined
Members
-
title
-
Sets the title of the side content panel.
Methods
-
addContent(content, clearPrevisousContent)
Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCUI/shared/go-ifc-side-content/index.ts, line 127 -
Adds content to the side content panel.
Name Type Default Description contentHTMLElement The content to be added to the side content panel.
clearPrevisousContentboolean true optional Whether to clear the previous content before adding the new content.
-
changeSideContentVisibility(visible)
Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCUI/shared/go-ifc-side-content/index.ts, line 164 -
Changes the visibility of the side content panel.
Name Type Description visibleboolean Whether the side content panel should be visible or not.
-
clearContent()
Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCUI/shared/go-ifc-side-content/index.ts, line 62 -
Clears the content of the side content panel.
-
getId(){string}
Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCUI/shared/go-ifc-side-content/index.ts, line 74 -
Retrieves the unique identifier for the side content component.
Returns:
Type Description string The unique identifier for the side content component. -
onClose(callback)
Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCUI/shared/go-ifc-side-content/index.ts, line 83 -
Sets a callback function to be executed when the side content panel is closed.
Name Type Description callbackfunction The callback function to be executed on close.
