Skip to content

Commit 613602b

Browse files
committed
docs
1 parent 7f0baa5 commit 613602b

File tree

79 files changed

+71
-3562
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+71
-3562
lines changed

docs/_content/jsMind.Blazor/jsmind-interop.js

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
var MindMap = MindMap || {};
2-
var BlazorLocalStorage = BlazorLocalStorage || {};
32

43
const instances = {};
54

@@ -62,6 +61,10 @@ MindMap.addNode = function (containerId, id, parentId, topic, data) {
6261
instances[containerId].add_node(id, parentId, topic, data);
6362
}
6463

64+
MindMap.removeNode = function (containerId, id) {
65+
instances[containerId].remove_node(id);
66+
}
67+
6568
MindMap.expandNode = function (containerId, id) {
6669
instances[containerId].expand_node(id);
6770
}
@@ -74,7 +77,7 @@ MindMap.expand = function (containerId) {
7477
instances[containerId].expand_all();
7578
}
7679

77-
MindMap.expandToDepth = function(containerId, depth) {
80+
MindMap.expandToDepth = function (containerId, depth) {
7881
instances[containerId].expand_to_depth(depth);
7982
}
8083

@@ -104,14 +107,4 @@ MindMap.enableEdit = function (containerId) {
104107

105108
MindMap.isEditable = function (containerId) {
106109
return instances[containerId].get_editable();
107-
}
108-
109-
BlazorLocalStorage.get = function (key) {
110-
return key in localStorage ? JSON.parse(localStorage[key]) : null;
111-
}
112-
BlazorLocalStorage.set = function (key, value) {
113-
localStorage[key] = JSON.stringify(value);
114-
}
115-
BlazorLocalStorage.delete = function (key) {
116-
delete localStorage[key];
117110
}

docs/_content/jsMind.Blazor/jsmind-interop.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)