mind-elixir-yg 1.1.6 → 1.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README-learn.md +9 -0
  2. package/package.json +1 -1
package/README-learn.md CHANGED
@@ -59,3 +59,12 @@ $(function(){
59
59
  }
60
60
  // ]]></script>
61
61
 
62
+
63
+ ### 判断是操作节点中的第几个元素 位置: dom.ts 方法 export function createInputDiv(tpc: Topic)
64
+ let origin = tpc.childNodes[0].textContent as string
65
+ console.log('点击节点 选择哪个数据进行操作create', tpc.childNodes[0].nodeName)
66
+ // 判断是否带有优先级
67
+ if(tpc.childNodes.length > 0 && tpc.childNodes[0].nodeName === 'SPAN'){
68
+ origin = tpc.childNodes[1].textContent as string
69
+ }
70
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mind-elixir-yg",
3
- "version": "1.1.6",
3
+ "version": "1.1.7",
4
4
  "description": "Mind elixir is a free open source mind map core.",
5
5
  "main": "dist/MindElixir.js",
6
6
  "scripts": {