Search
DiagramItem.text Property
See Also
 






Gets or sets the text label displayed by this item.

Namespace: MindFusion.Diagramming
File: DiagramItem.js

 Syntax

JavaScript  Copy Code

get text() {}
set text(value) {}

 Property Value

String

A string containing the item's text. The default value is empty string "".

 Remarks

This property defines item's main text content. You can add more text labels by calling the addLabel method, and customize their position and appearance via the various members of returned ItemLabel object.

Users can double-click an item to edit its text interactively when the allowInplaceEdit property is enabled. You can trigger the edit operation from a different event handler by calling beginEdit.

 See Also