UNPKG

@itwin/presentation-common

Version:

Common pieces for iModel.js presentation packages

31 lines 857 B
/** @packageDocumentation * @module Hierarchies */ import { Node } from "./Node.js"; /** * Describes a single step in the nodes path. * @public */ export interface NodePathElement { /** Node instance */ node: Node; /** Node index */ index: number; /** Is this element part of the marked path */ isMarked?: boolean; /** Child path elements */ children: NodePathElement[]; /** Additional filtering-related information */ filteringData?: NodePathFilteringData; } /** * Data related to node hierarchy filtering * @public */ export interface NodePathFilteringData { /** Number of filter matches in the current element */ matchesCount: number; /** Number of filter matches in the current element's children (recursively) */ childMatchesCount: number; } //# sourceMappingURL=NodePathElement.d.ts.map