Doc: update

This commit is contained in:
街角小林
2024-06-26 16:03:13 +08:00
parent 9bce6d3ded
commit f80317a449
4 changed files with 24 additions and 0 deletions

View File

@@ -585,6 +585,8 @@ Listen to an event. Event list:
| demonstrate_jumpv0.9.11+ | Trigger when switching steps in demonstration mode | currentStepIndexThe index of the steps currently played, counting from 0、stepLengthTotal number of playback steps |
| node_tag_clickv0.9.12+ | Click events on node labels | this(Current node instance)、itemContent of clicked tags |
| node_layout_endv0.10.1+ | Event where the content layout of a single node is completed | this(Current node instance) |
| node_attachmentClickv0.9.10+ | Click event for node attachment icon | this(Current node instance)、eEvent Object、nodeIcon node |
| node_attachmentContextmenuv0.9.10+ | Right click event on node attachment icon | this(Current node instance)、eEvent Object、nodeIcon node |
### emit(event, ...args)

View File

@@ -1606,6 +1606,16 @@ poor performance and should be used sparingly.</p>
<td>Event where the content layout of a single node is completed</td>
<td>this(Current node instance)</td>
</tr>
<tr>
<td>node_attachmentClickv0.9.10+</td>
<td>Click event for node attachment icon</td>
<td>this(Current node instance)、eEvent Object、nodeIcon node</td>
</tr>
<tr>
<td>node_attachmentContextmenuv0.9.10+</td>
<td>Right click event on node attachment icon</td>
<td>this(Current node instance)、eEvent Object、nodeIcon node</td>
</tr>
</tbody>
</table>
<h3>emit(event, ...args)</h3>

View File

@@ -584,6 +584,8 @@ mindMap.setTheme('主题名称')
| demonstrate_jumpv0.9.11+ | 演示模式中,切换步骤时触发 | currentStepIndex当前播放到的步骤索引从0开始计数、stepLength总的播放步骤数量 |
| node_tag_clickv0.9.12+ | 节点标签的点击事件 | this(当前节点实例)、item点击的标签内容 |
| node_layout_endv0.10.1+ | 单个节点内容布局完成的事件 | this(当前节点实例) |
| node_attachmentClickv0.9.10+ | 节点附件图标的点击事件 | this(当前节点实例)、e事件对象、node图标节点 |
| node_attachmentContextmenuv0.9.10+ | 节点附件图标的右键点击事件 | this(当前节点实例)、e事件对象、node图标节点 |
### emit(event, ...args)

View File

@@ -1475,6 +1475,16 @@ mindMap.setTheme(<span class="hljs-string">&#x27;主题名称&#x27;</span>)
<td>单个节点内容布局完成的事件</td>
<td>this(当前节点实例)</td>
</tr>
<tr>
<td>node_attachmentClickv0.9.10+</td>
<td>节点附件图标的点击事件</td>
<td>this(当前节点实例)e事件对象node图标节点</td>
</tr>
<tr>
<td>node_attachmentContextmenuv0.9.10+</td>
<td>节点附件图标的右键点击事件</td>
<td>this(当前节点实例)e事件对象node图标节点</td>
</tr>
</tbody>
</table>
<h3>emit(event, ...args)</h3>