You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
480 B
8 lines
480 B
|
2 years ago
|
import type { SetupContext } from 'vue';
|
||
|
|
import type Node from './node';
|
||
|
|
import type { RootTreeType, TreeKey, TreeNodeData } from '../tree.type';
|
||
|
|
export declare const NODE_KEY = "$treeNodeId";
|
||
|
|
export declare const markNodeData: (node: Node, data: TreeNodeData) => void;
|
||
|
|
export declare const getNodeKey: (key: TreeKey, data: TreeNodeData) => any;
|
||
|
|
export declare const handleCurrentChange: (store: RootTreeType['store'], emit: SetupContext['emit'], setCurrent: () => void) => void;
|