Skip to content

Commit 9322d97

Browse files
committed
doc: 更新文档
1 parent 6fe9e0d commit 9322d97

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/BootstrapBlazor.Server/Locales/en-US.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@
678678
"TreeViewCheckboxAddButtonText": "Add",
679679
"TreeViewDraggableTitle": "Draggable nodes",
680680
"TreeViewDraggableIntro": "Allows nodes to be dragged and dropped in the tree control",
681-
"TreeViewDraggableDescription": "By setting the <code>ItemDraggable</code> property, you can drag and drop nodes in the tree control. Use the <code>OnDrop</code> callback delegate to handle the drop event, block the drop event by returning <code>false</code>, or allow the drop event by returning <code>true</code>.",
681+
"TreeViewDraggableDescription": "By setting the <code>AllowDrag</code> property, you can drag and drop nodes in the tree control. Use the <code>OnDragItemEndAsync</code> callback delegate to handle the drop event.",
682682
"TreeViewTreeDisableTitle": "Disabled state",
683683
"TreeViewTreeDisableIntro": "Some nodes of the Tree can be set to disabled state",
684684
"TreeViewTreeDisableDescription": "By setting the <code>Disabled</code> property of the data source <code>TreeViewItem</code> object, you can control whether this node can be checked or not. When set to <code>false</code>, it will not affect the node expansion. /shrink function",

src/BootstrapBlazor.Server/Locales/zh-CN.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@
678678
"TreeViewCheckboxAddButtonText": "追加节点",
679679
"TreeViewDraggableTitle": "可拖拽节点",
680680
"TreeViewDraggableIntro": "使树中的节点可以进行跨层级拖拽操作",
681-
"TreeViewDraggableDescription": "通过设置 <code>ItemDraggable</code> 属性开启节点拖拽功能,使用 <code>OnDrop</code> 回调委托方法响应拖拽节点放置事件,通过返回 <code>false</code> 阻止拖拽节点放置",
681+
"TreeViewDraggableDescription": "通过设置 <code>AllowDrag</code> 属性开启节点拖拽功能,使用 <code>OnDragItemEndAsync</code> 回调委托方法响应拖拽节点放置事件",
682682
"TreeViewTreeDisableTitle": "禁用状态",
683683
"TreeViewTreeDisableIntro": "可将 Tree 的某些节点设置为禁用状态",
684684
"TreeViewTreeDisableDescription": "通过设置数据源 <code>TreeViewItem</code> 对象的 <code>Disabled</code> 属性,来控制此节点是否可以进行勾选动作,设置为 <code>false</code> 时不影响节点展开/收缩功能",

0 commit comments

Comments
 (0)