category
Getter
The Category into which new elements should be inserted by default. Specialized tools are free to ignore this setting and instead use their own logic to select an appropriate category.
category: undefined | string
@see - onCategoryChanged to be notified when this property is modified.
- CreateElementTool.targetCategory for an example of a tool that uses this setting.
Returns - undefined | string
Setter
category(category: string): void
Parameter | Type | Description |
---|---|---|
category | string |
Returns - void
Defined in
Last Updated: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.