ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
7 lines (6 loc) • 421 B
TypeScript
/**
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
*/
export declare const getParent: <T>(nodes: T[], node: T, getLevel: (dataNode: T) => number) => T | null;
export declare const getNextSibling: <T>(nodes: T[], node: T, getLevel: (dataNode: T) => number, _index?: number | undefined) => T | null;