Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TreeItemExpansion

Hierarchy

Index

Properties

expandedIds

expandedIds: ExpandedIds

The list of expanded ids within the tree. These ids should reference itemIds for tree items.

Methods

onItemExpansion

  • onItemExpansion(itemId: string, expanded: boolean): void
  • A function to call that will update the expandedIds to collapse or expand a clicked item.

    Parameters

    • itemId: string
    • expanded: boolean

    Returns void

onMultiItemExpansion

  • A function to call when the user presses the asterisk key (*) that will expand all tree items at the same level as the currently focused item.

    Parameters

    Returns void

Generated using TypeDoc