---
title: "IMods"
---
# IMods

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

## Extended by

- [`IDialog`](./types.IDialog.html)
- [`IStatusBar`](./types.IStatusBar.html)
- [`IUIElement`](./types.IUIElement.html)
- [`IViewBased`](./types.IViewBased.html)

### mods

**mods**: [`IDictionary`](../modules/types.html#idictionary)\<[`ModType`](../modules/types.html#modtype)\>

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

### setMod()

**setMod**\<`T`\>(`this`, `name`, `value`): `T`

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

Set/remove modification (null - remove)

#### Type Parameters

| Type Parameter |
| ------ |
| `T` *extends* [`IComponent`](./types.IComponent.html)\<[`IViewBased`](./types.IViewBased.html)\<[`IViewOptions`](./types.IViewOptions.html)\>\> & [`IContainer`](./types.IContainer.html) & `IMods` |

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `T` |
| `name` | `string` |
| `value` | [`ModType`](../modules/types.html#modtype) |

#### Returns

`T`

***

### afterSetMod()

**afterSetMod**(`name`, `value`): `void`

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

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `name` | `string` |
| `value` | [`ModType`](../modules/types.html#modtype) |

#### Returns

`void`

***

### getMod()

**getMod**(`name`): [`ModType`](../modules/types.html#modtype)

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

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `name` | `string` |

#### Returns

[`ModType`](../modules/types.html#modtype)
