[@rxap/ngx-error](../wiki/globals) / ErrorDialogComponent

# Class: ErrorDialogComponent

Defined in: [error-dialog/error-dialog.component.ts:47](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/error-dialog/error-dialog.component.ts#L47)

## Implements

- `AfterViewInit`

## Constructors

### new ErrorDialogComponent()

> **new ErrorDialogComponent**(): [`ErrorDialogComponent`](../wiki/Class.ErrorDialogComponent)

#### Returns

[`ErrorDialogComponent`](../wiki/Class.ErrorDialogComponent)

## Properties

### activeIndex

> `readonly` **activeIndex**: `WritableSignal`\<`number`\>

Defined in: [error-dialog/error-dialog.component.ts:54](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/error-dialog/error-dialog.component.ts#L54)

***

### closeDialog

> **closeDialog**: `EventEmitter`\<`void`\>

Defined in: [error-dialog/error-dialog.component.ts:61](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/error-dialog/error-dialog.component.ts#L61)

***

### componentPortal

> `readonly` **componentPortal**: `Signal`\<`ComponentPortal`\<[`IErrorDialogComponent`](../wiki/Interface.IErrorDialogComponent)\<`any`\>\>\>

Defined in: [error-dialog/error-dialog.component.ts:64](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/error-dialog/error-dialog.component.ts#L64)

***

### data

> `readonly` **data**: `Signal`\<`any`[]\>

Defined in: [error-dialog/error-dialog.component.ts:52](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/error-dialog/error-dialog.component.ts#L52)

***

### dialog

> **dialog**: `ElementRef`\<`HTMLDialogElement`\>

Defined in: [error-dialog/error-dialog.component.ts:50](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/error-dialog/error-dialog.component.ts#L50)

***

### displayedButtons

> `readonly` **displayedButtons**: `Signal`\<`number`[]\>

Defined in: [error-dialog/error-dialog.component.ts:55](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/error-dialog/error-dialog.component.ts#L55)

## Methods

### close()

> **close**(): `void`

Defined in: [error-dialog/error-dialog.component.ts:83](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/error-dialog/error-dialog.component.ts#L83)

#### Returns

`void`

***

### ngAfterViewInit()

> **ngAfterViewInit**(): `void`

Defined in: [error-dialog/error-dialog.component.ts:79](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/error-dialog/error-dialog.component.ts#L79)

A callback method that is invoked immediately after
Angular has completed initialization of a component's view.
It is invoked only once when the view is instantiated.

#### Returns

`void`

#### Implementation of

`AfterViewInit.ngAfterViewInit`
