# StockChangeEvent (@salmonui/charts/stock-chart)

> The StockChangeEvent interface of @salmonui/charts/stock-chart.

Canonical: https://salmonui.dev/docs/reference/charts/stock-chart/StockChangeEvent

```ts
import type { StockChangeEvent } from '@salmonui/charts/stock-chart';
```

Entry index: https://salmonui.dev/docs/reference/charts/stock-chart (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/charts/stock-chart.md).

## Reference

Kind: interface

```ts
interface StockChangeEvent<R extends string> {
    readonly source: 'pointer' | 'keyboard' | 'touch' | 'api';
    readonly reason: R;
}
```

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `source` | `readonly source: 'pointer' \| 'keyboard' \| 'touch' \| 'api';` |  |  |
| `reason` | `readonly reason: R;` |  |  |
