# TagDropEvent (@salmonui/buttons/tag-group)

> The TagDropEvent interface of @salmonui/buttons/tag-group: onTagDrop event, fired on the receiving group of a cross-group drop.

Canonical: https://salmonui.dev/docs/reference/buttons/tag-group/TagDropEvent

```ts
import type { TagDropEvent } from '@salmonui/buttons/tag-group';
```

Entry index: https://salmonui.dev/docs/reference/buttons/tag-group (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/buttons/tag-group.md).

## Reference

Kind: interface

```ts
interface TagDropEvent {
    readonly values: readonly string[];
    readonly fromGroup: string;
    readonly toIndex: number;
    readonly source: TagEventSource;
}
```

`onTagDrop` event, fired on the receiving group of a cross-group drop.

Members (4):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `values` | `readonly values: readonly string[];` |  |  |
| `fromGroup` | `readonly fromGroup: string;` |  | `id` of the source group (its `id` prop, or a generated id). |
| `toIndex` | `readonly toIndex: number;` |  |  |
| `source` | `readonly source: TagEventSource;` |  |  |
