Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IProps<T>

Type parameters

Hierarchy

  • IProps

Index

Properties

model

model: TreeModel<T>

The items contained in the tree.

onCollapse

onCollapse: function

Callback when an item is collapsed.

Note: The consumer must update the tree to set isCollapsed on the given node.

Type declaration

    • (this: void, key: string, state: boolean): void
    • Parameters

      • this: void
      • key: string
      • state: boolean

      Returns void

Optional onCommit

onCommit: undefined | function

Callback when an item is 'super' selected.

Refer to the documentation for [ListBox].onCommit for more details.

onSelect

onSelect: function

Callback when an item is selected.

Type declaration

    • (this: void, key: string): void
    • Parameters

      • this: void
      • key: string

      Returns void

Optional preview

preview: Private.IDragPreview

Optional render

render: undefined | function

Generated using TypeDoc