提交 e2b79d3c 编写于 作者: J Joao Moreno

comment

上级 de6116b3
......@@ -364,6 +364,10 @@ export interface IDataSource {
/**
* Returns the unique identifier of the given element.
* No more than one element may use a given identifier.
*
* You should not attempt to "move" an element to a different
* parent by keeping its ID. The idea here is to have tree location
* related IDs (eg. full file path, in the Explorer example).
*/
getId(tree: ITree, element: any): string;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册