Class mindmaps.DefaultCanvasView-CaptionEditor
Defined in: CanvasView.js.
Constructor Attributes | Constructor Name and Description |
---|---|
<inner> |
Creates a new CaptionEditor.
|
Method Attributes | Method Name and Description |
---|---|
edit(node, $cancelArea)
Attaches the textarea to the node and temporarily removes the
original node caption.
|
|
stop()
Removes the editor from the node and restores its old text value.
|
Class Detail
<inner>
mindmaps.DefaultCanvasView-CaptionEditor(view)
Creates a new CaptionEditor. This tool offers an inline editor component
to change a node's caption.
- Parameters:
- {mindmaps.CanvasView} view
Method Detail
edit(node, $cancelArea)
Attaches the textarea to the node and temporarily removes the
original node caption.
- Parameters:
- {mindmaps.Node} node
- {jQuery} $cancelArea
stop()
Removes the editor from the node and restores its old text value.