---
schema_version: "1"
id: abc258f98193975b675794588375ea7f8e2cfce731341eb0cfb4987768ece095
title: ToolbarStateChangedEvent | Tableau Embedding API
collection: tableau
version: current
locale: en-us
portal_url: https://docs.salesforce.com/tableau/current/en-us/api/embedding_api/reference/interfaces/ToolbarStateChangedEvent.md
canonical_url: https://help.tableau.com/current/api/embedding_api/en-us/reference/interfaces/ToolbarStateChangedEvent.html
source_site: help.tableau.com
content_type: documentation
content_hash: 57899a1a0191f9c4df388606388eeb6b17207bdc468fd2da170dde8f8791cef8
description: Documentation for Tableau Embedding API
---
- ToolbarStateChangedEvent

# Interface ToolbarStateChangedEvent

An event which is raised when a toolbar button or control becomes available or becomes unavailable.

interface ToolbarStateChangedEvent {  
    [canRedo](#canredo): boolean;  
    [canUndo](#canundo): boolean;  
}

- Defined in packages/api-external-contract-js/src/ExternalContract/Embedding/EventInterfaces.ts:109

##### Index

### Properties

[canRedo](#canredo) [canUndo](#canundo)

## Properties

### `Readonly`canRedo[](#canredo)

canRedo: boolean

Gets the staus of Redo button in the toolbar.

- Defined in packages/api-external-contract-js/src/ExternalContract/Embedding/EventInterfaces.ts:113

### `Readonly`canUndo[](#canundo)

canUndo: boolean

Gets the staus of Undo button in the toolbar.

- Defined in packages/api-external-contract-js/src/ExternalContract/Embedding/EventInterfaces.ts:118

### Settings

Member Visibility

- Protected
- Inherited
- External

ThemeOSLightDark

### On This Page

Properties

[canRedo](#canredo)[canUndo](#canundo)