Class: TagButton

TagButton

Class representing a button for managing tags within the GoIFCComponents framework. Inherits from IFCButton and provides functionality for creating and managing tags on IFC models.

new TagButton(ui, parent)

Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCUI/ifc-buttons/tag.button.ts, line 21

Creates an instance of TagButton.

Name Type Description
ui GoIFCUI

The GoIFCUI instance to be associated with this button.

parent IFCButton

The parent button of this button.

Extends

  • undefined

Members

static,readonlyTagButton.optsTagobject

The options for the Tag button.

Properties:
Name Type Description
id string

The unique identifier for the button.

title string

The title of the button.

icon string

The icon for the button.

label string

The label for the button.

Methods

getTagsComponent(){TagsComponent}

Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCUI/ifc-buttons/tag.button.ts, line 70

Gets the TagsComponent instance associated with this button.

Returns:
Type Description
TagsComponent The TagsComponent instance.