# PanelBar Events

The Kendo UI for Angular PanelBar emits a number of events which enable you to control its behavior upon user interaction.

The following list contains all available PanelBar events:

* [`itemClick`](https://www.telerik.com/kendo-angular-ui-develop/components/layout/api/panelbarcomponent#itemClick)—Fires when an item is clicked.
* [`select`](https://www.telerik.com/kendo-angular-ui-develop/components/layout/api/panelbarcomponent#select)—Fires when an item is about to be selected. The event is preventable. If you cancel it, the item will not be selected.
* [`expand`](https://www.telerik.com/kendo-angular-ui-develop/components/layout/api/panelbarcomponent#expand)—Fires when an item is about to be expanded. The event is preventable. If you cancel it, the item will remain collapsed.
* [`collapse`](https://www.telerik.com/kendo-angular-ui-develop/components/layout/api/panelbarcomponent#collapse)—Fires when an item is about to be collapsed. The event is preventable. If you cancel it, the item will remain expanded.
* [`stateChange`](https://www.telerik.com/kendo-angular-ui-develop/components/layout/api/panelbarcomponent#stateChange)—Fires each time the user interacts with a PanelBar item.

> The `select` event is fired before the `expand` or `collapse` events respectively. If the developer prevents the `select` event, the subsequent operations will not be executed.

The following example demonstrates all events the PanelBar features.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/layout/panelbar/events/source.txt)

## Suggested Links

* [API Reference of the PanelBar](https://www.telerik.com/kendo-angular-ui-develop/components/layout/api/panelbarcomponent)
* [API Reference of the PanelBarItem](https://www.telerik.com/kendo-angular-ui-develop/components/layout/api/panelbaritemcomponent)
