---
title: "IViewComponent"
---
# IViewComponent

Defined in: [src/types/types.d.ts:78](https://github.com/xdan/jodit/blob/main/src/types/types.d.ts#L78)

## Extends

- [`IComponent`](./types.IComponent.html)

## Extended by

- [`IUIElement`](./types.IUIElement.html)
- [`IUIButton`](./types.IUIButton.html)
- [`IUploader`](./types.IUploader.html)

## Type Parameters

| Type Parameter | Default type |
| ------ | ------ |
| `T` *extends* [`IViewBased`](./types.IViewBased.html) | [`IViewBased`](./types.IViewBased.html) |

### async

`readonly` **async**: [`IAsync`](./types.IAsync.html)

Defined in: [src/types/types.d.ts:43](https://github.com/xdan/jodit/blob/main/src/types/types.d.ts#L43)

#### Inherited from

[`IComponent`](./types.IComponent.html).[`async`](./types.IComponent.html#async)

***

### ownerDocument

`readonly` **ownerDocument**: [`Document`](https://developer.mozilla.org/docs/Web/API/Document)

Defined in: [src/types/types.d.ts:44](https://github.com/xdan/jodit/blob/main/src/types/types.d.ts#L44)

#### Inherited from

[`IComponent`](./types.IComponent.html).[`ownerDocument`](./types.IComponent.html#ownerdocument)

***

### od

`readonly` **od**: [`Document`](https://developer.mozilla.org/docs/Web/API/Document)

Defined in: [src/types/types.d.ts:45](https://github.com/xdan/jodit/blob/main/src/types/types.d.ts#L45)

#### Inherited from

[`IComponent`](./types.IComponent.html).[`od`](./types.IComponent.html#od)

***

### ownerWindow

`readonly` **ownerWindow**: [`Window`](https://developer.mozilla.org/docs/Web/API/Window)

Defined in: [src/types/types.d.ts:46](https://github.com/xdan/jodit/blob/main/src/types/types.d.ts#L46)

#### Inherited from

[`IComponent`](./types.IComponent.html).[`ownerWindow`](./types.IComponent.html#ownerwindow)

***

### ow

`readonly` **ow**: [`Window`](https://developer.mozilla.org/docs/Web/API/Window)

Defined in: [src/types/types.d.ts:47](https://github.com/xdan/jodit/blob/main/src/types/types.d.ts#L47)

#### Inherited from

[`IComponent`](./types.IComponent.html).[`ow`](./types.IComponent.html#ow)

***

### componentName

`readonly` **componentName**: `string`

Defined in: [src/types/types.d.ts:51](https://github.com/xdan/jodit/blob/main/src/types/types.d.ts#L51)

#### Inherited from

[`IComponent`](./types.IComponent.html).[`componentName`](./types.IComponent.html#componentname)

***

### uid

`readonly` **uid**: `string`

Defined in: [src/types/types.d.ts:62](https://github.com/xdan/jodit/blob/main/src/types/types.d.ts#L62)

#### Inherited from

[`IComponent`](./types.IComponent.html).[`uid`](./types.IComponent.html#uid)

***

### isDestructed

`readonly` **isDestructed**: `boolean`

Defined in: [src/types/types.d.ts:63](https://github.com/xdan/jodit/blob/main/src/types/types.d.ts#L63)

#### Inherited from

[`IComponent`](./types.IComponent.html).[`isDestructed`](./types.IComponent.html#isdestructed)

***

### isInDestruct

`readonly` **isInDestruct**: `boolean`

Defined in: [src/types/types.d.ts:64](https://github.com/xdan/jodit/blob/main/src/types/types.d.ts#L64)

#### Inherited from

[`IComponent`](./types.IComponent.html).[`isInDestruct`](./types.IComponent.html#isindestruct)

***

### isReady

`readonly` **isReady**: `boolean`

Defined in: [src/types/types.d.ts:65](https://github.com/xdan/jodit/blob/main/src/types/types.d.ts#L65)

#### Inherited from

[`IComponent`](./types.IComponent.html).[`isReady`](./types.IComponent.html#isready)

***

### componentStatus

`readonly` **componentStatus**: [`ComponentStatus`](../modules/types.html#componentstatus)

Defined in: [src/types/types.d.ts:67](https://github.com/xdan/jodit/blob/main/src/types/types.d.ts#L67)

#### Inherited from

[`IComponent`](./types.IComponent.html).[`componentStatus`](./types.IComponent.html#componentstatus)

***

### jodit

**jodit**: `T`

Defined in: [src/types/types.d.ts:79](https://github.com/xdan/jodit/blob/main/src/types/types.d.ts#L79)

***

### j

`readonly` **j**: `T`

Defined in: [src/types/types.d.ts:80](https://github.com/xdan/jodit/blob/main/src/types/types.d.ts#L80)

***

### i18n

`readonly` **i18n**: `T`\[`"i18n"`\]

Defined in: [src/types/types.d.ts:82](https://github.com/xdan/jodit/blob/main/src/types/types.d.ts#L82)

***

### defaultTimeout

`readonly` **defaultTimeout**: `number`

Defined in: [src/types/types.d.ts:83](https://github.com/xdan/jodit/blob/main/src/types/types.d.ts#L83)

### destruct()

**destruct**(`jodit?`): `any`

Defined in: [src/types/types.d.ts:32](https://github.com/xdan/jodit/blob/main/src/types/types.d.ts#L32)

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `jodit?` | [`IViewBased`](./types.IViewBased.html)\<[`IViewOptions`](./types.IViewOptions.html)\> |

#### Returns

`any`

#### Inherited from

[`IComponent`](./types.IComponent.html).[`destruct`](./types.IComponent.html#destruct)

***

### get()

**get**\<`T`\>(`chain`, `obj?`): [`Nullable`](../modules/types.html#nullable)\<`T`\>

Defined in: [src/types/types.d.ts:49](https://github.com/xdan/jodit/blob/main/src/types/types.d.ts#L49)

#### Type Parameters

| Type Parameter |
| ------ |
| `T` |

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `chain` | `string` |
| `obj?` | [`IDictionary`](../modules/types.html#idictionary)\<`any`, `string`\> |

#### Returns

[`Nullable`](../modules/types.html#nullable)\<`T`\>

#### Inherited from

[`IComponent`](./types.IComponent.html).[`get`](./types.IComponent.html#get)

***

### className()

**className**(): `string`

Defined in: [src/types/types.d.ts:52](https://github.com/xdan/jodit/blob/main/src/types/types.d.ts#L52)

#### Returns

`string`

#### Inherited from

[`IComponent`](./types.IComponent.html).[`className`](./types.IComponent.html#classname)

***

#### Call Signature

**getFullElName**(`elementName`): `string`

Defined in: [src/types/types.d.ts:54](https://github.com/xdan/jodit/blob/main/src/types/types.d.ts#L54)

##### Parameters

| Parameter | Type |
| ------ | ------ |
| `elementName` | `string` |

##### Returns

`string`

##### Inherited from

[`IComponent`](./types.IComponent.html).[`getFullElName`](./types.IComponent.html#getfullelname)

#### Call Signature

**getFullElName**(`elementName`, `mod`): `string`

Defined in: [src/types/types.d.ts:55](https://github.com/xdan/jodit/blob/main/src/types/types.d.ts#L55)

##### Parameters

| Parameter | Type |
| ------ | ------ |
| `elementName` | `string` |
| `mod` | `string` |

##### Returns

`string`

##### Inherited from

[`IComponent`](./types.IComponent.html).[`getFullElName`](./types.IComponent.html#getfullelname)

#### Call Signature

**getFullElName**(`elementName`, `mod?`, `modValue?`): `string`

Defined in: [src/types/types.d.ts:56](https://github.com/xdan/jodit/blob/main/src/types/types.d.ts#L56)

##### Parameters

| Parameter | Type |
| ------ | ------ |
| `elementName` | `string` |
| `mod?` | `string` |
| `modValue?` | `string` \| `boolean` |

##### Returns

`string`

##### Inherited from

[`IComponent`](./types.IComponent.html).[`getFullElName`](./types.IComponent.html#getfullelname)

***

### setStatus()

**setStatus**(`componentStatus`): `void`

Defined in: [src/types/types.d.ts:68](https://github.com/xdan/jodit/blob/main/src/types/types.d.ts#L68)

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `componentStatus` | [`ComponentStatus`](../modules/types.html#componentstatus) |

#### Returns

`void`

#### Inherited from

[`IComponent`](./types.IComponent.html).[`setStatus`](./types.IComponent.html#setstatus)

***

### hookStatus()

**hookStatus**(`status`, `callback`): `void`

Defined in: [src/types/types.d.ts:70](https://github.com/xdan/jodit/blob/main/src/types/types.d.ts#L70)

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `status` | [`ComponentStatus`](../modules/types.html#componentstatus) |
| `callback` | (`component`) => `void` |

#### Returns

`void`

#### Inherited from

[`IComponent`](./types.IComponent.html).[`hookStatus`](./types.IComponent.html#hookstatus)

***

### bindDestruct()

**bindDestruct**(`component`): `this`

Defined in: [src/types/types.d.ts:75](https://github.com/xdan/jodit/blob/main/src/types/types.d.ts#L75)

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `component` | [`IComponent`](./types.IComponent.html) |

#### Returns

`this`

#### Inherited from

[`IComponent`](./types.IComponent.html).[`bindDestruct`](./types.IComponent.html#binddestruct)

***

### setParentView()

**setParentView**(`jodit`): `this`

Defined in: [src/types/types.d.ts:81](https://github.com/xdan/jodit/blob/main/src/types/types.d.ts#L81)

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `jodit` | `T` |

#### Returns

`this`
