# ReparentedItem

Interface

Source: https://github.com/playcanvas/pcui/blob/77ed2b8ba8660c9644049b0d1942652721e7a6c4/src/components/TreeView/index.ts#L20

Represents an item that has been reparented in a [TreeView](https://api.playcanvas.com/pcui/classes/TreeView.md) drag operation.

## Properties

### item

```ts
item: TreeViewItem
```

The reparented tree view item.

### newChildIndex

```ts
newChildIndex?: number
```

The new child index of the item within its new parent.

### newParent

```ts
newParent?: Element
```

The new parent of the item.

### oldParent

```ts
oldParent: Element
```

The old parent of the item.
