UNPKG

@itwin/presentation-common

Version:

Common pieces for iModel.js presentation packages

19 lines 880 B
/** @packageDocumentation * @module PresentationRules */ import { NavigationRuleBase } from "./NavigationRule.js"; /** * Root node rules are used to define nodes that are displayed at the root hierarchy level. * * @see [Root node rule reference documentation page]($docs/presentation/hierarchies/RootNodeRule.md) * @public * @deprecated in 5.2 - will not be removed until after 2026-10-01. Use the new [@itwin/presentation-hierarchies](https://github.com/iTwin/presentation/blob/master/packages/hierarchies/README.md) * package for creating hierarchies. */ export interface RootNodeRule extends NavigationRuleBase { /** Used for serializing to JSON. */ ruleType: "RootNodes"; /** Tells the library to assign produced nodes a flag, indicating that they should be automatically expanded. */ autoExpand?: boolean; } //# sourceMappingURL=RootNodeRule.d.ts.map