Skip to content

childrenLoaded Type documentation

TypeScript declaration

import { childrenLoaded } from '@siemens/element-ng/tree-view';

childrenLoaded(item: TreeItem<any>): boolean

Parameters

Types Documentation

import type { TreeItem } from '@siemens/element-ng/tree-view';

Defines the data for a tree item. All properties are optional.

Properties

CheckboxState

'unchecked' | 'checked' | 'indeterminate'
type alias
import type { CheckboxState } from '@siemens/element-ng/tree-view';

The check box state of a tree item.

import type { TranslatableString } from '@siemens/element-translate-ng/translate-types';

Represents a translatable string. This can either be a translation key, e.g. ACTIONS.EDIT that will be automatically translated when displayed on the UI or a pre-translated string, e.g. Edit. Equivalent to a normal string in usage and functionality.

TreeItemFolderState

'collapsed' | 'expanding' | 'expanded' | 'leaf'
type alias
import type { TreeItemFolderState } from '@siemens/element-ng/tree-view';

The folder state of a tree item.


Except where otherwise noted, content on this site is licensed under MIT License.