+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "viewModeChanged"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
+++

## PanelEvents.viewModeChanged variable

### PanelEvents.viewModeChanged variable

<b>Signature</b>

```typescript
viewModeChanged: import("./appEvents").AppEvent<undefined>
```
<b>Import</b>

```typescript
import { PanelEvents } from '@grafana/data';
const { viewModeChanged } = PanelEvents;
```
