# taskbar-actions-button



<!-- Auto Generated Below -->


## Properties

| Property  | Attribute | Description                                             | Type       | Default     |
| --------- | --------- | ------------------------------------------------------- | ---------- | ----------- |
| `actions` | --        | Define a lista de ações.                                | `Action[]` | `undefined` |
| `enabled` | `enabled` | Se false o usuário não pode interagir com o componente. | `boolean`  | `undefined` |
| `title`   | `title`   | Texto que será exibido no botão                         | `string`   | `undefined` |


## Events

| Event                              | Description                                     | Type                       |
| ---------------------------------- | ----------------------------------------------- | -------------------------- |
| `taskbarActionsButtonDisconnected` | Emitido quando componente é desconectado da DOM | `CustomEvent<void>`        |
| `taskbarActionSelected`            | Emitido ao selecionar uma ação                  | `CustomEvent<Action>`      |
| `taskbarActionsOpened`             | Emitido ao mostrar a lista de ações             | `CustomEvent<HTMLElement>` |


## Methods

### `hideActions() => Promise<void>`

Esaconde a lista de ações.

#### Returns

Type: `Promise<void>`

---

### `isOpened() => Promise<boolean>`

Informa se a lista de ações está aberta.

#### Returns

Type: `Promise<boolean>`

---

### `showActions() => Promise<void>`

Exibe a lista de ações.

#### Returns

Type: `Promise<void>`




## Dependencies

### Used by

 - [snk-crud](../../../snk-crud)
 - [snk-detail-view](../../../snk-crud/subcomponents/snk-detail-view)
 - [snk-grid](../../../snk-grid)
 - [snk-guides-viewer](../../../snk-crud/subcomponents)
 - [snk-simple-crud](../../../snk-simple-crud)
 - [snk-taskbar](../..)

### Graph
```mermaid
graph TD;
  snk-crud --> taskbar-actions-button
  snk-detail-view --> taskbar-actions-button
  snk-grid --> taskbar-actions-button
  snk-guides-viewer --> taskbar-actions-button
  snk-simple-crud --> taskbar-actions-button
  snk-taskbar --> taskbar-actions-button
  style taskbar-actions-button fill:#f9f,stroke:#333,stroke-width:4px
```

----------------------------------------------


