---
title: "UIGroup"
---
# UIGroup

Defined in: [src/core/ui/group/group.ts:30](https://github.com/xdan/jodit/blob/main/src/core/ui/group/group.ts#L30)

The base class of all Jodit UI components. Provides work with a life cycle.

## Extends

- [`UIElement`](./ui.UIElement.html)\<`T`\>

## Extended by

- [`UIButtonGroup`](./ui_button.UIButtonGroup.html)
- [`UIBlock`](./ui_form.UIBlock.html)
- [`UIForm`](./ui_form.UIForm.html)
- [`UIList`](./ui_group.UIList.html)
- [`Popup`](./ui_popup.Popup.html)
- [`UIMessages`](./messages.UIMessages.html)

## Type Parameters

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

## Implements

- [`IUIGroup`](../interfaces/types.IUIGroup.html)

### Constructor

**new UIGroup**\<`T`\>(`jodit`, `elements?`, `options?`): `UIGroup`\<`T`\>

Defined in: [src/core/ui/group/group.ts:191](https://github.com/xdan/jodit/blob/main/src/core/ui/group/group.ts#L191)

#### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `jodit` | `T` | - |
| `elements?` | (`false` \| `void` \| [`IUIElement`](../interfaces/types.IUIElement.html) \| `null`)[] | Items of group |
| `options?` | [`IDictionary`](../modules/types.html#idictionary) | - |

#### Returns

`UIGroup`\<`T`\>

#### Overrides

[`UIElement`](./ui.UIElement.html).[`constructor`](./ui.UIElement.html#constructor)

### STATUSES

`static` **STATUSES**: `object`

Defined in: [src/core/component/component.ts:40](https://github.com/xdan/jodit/blob/main/src/core/component/component.ts#L40)

#### beforeInit

`readonly` **beforeInit**: `"beforeInit"` = `'beforeInit'`

#### ready

`readonly` **ready**: `"ready"` = `'ready'`

#### beforeDestruct

`readonly` **beforeDestruct**: `"beforeDestruct"` = `'beforeDestruct'`

#### destructed

`readonly` **destructed**: `"destructed"` = `'destructed'`

#### Inherited from

[`UIElement`](./ui.UIElement.html).[`STATUSES`](./ui.UIElement.html#statuses)

***

### async

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

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

#### Implementation of

[`IUIGroup`](../interfaces/types.IUIGroup.html).[`async`](../interfaces/types.IUIGroup.html#async)

#### Inherited from

[`UIElement`](./ui.UIElement.html).[`async`](./ui.UIElement.html#async)

***

### uid

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

Defined in: [src/core/component/component.ts:59](https://github.com/xdan/jodit/blob/main/src/core/component/component.ts#L59)

#### Implementation of

[`IUIGroup`](../interfaces/types.IUIGroup.html).[`uid`](../interfaces/types.IUIGroup.html#uid)

#### Inherited from

[`UIElement`](./ui.UIElement.html).[`uid`](./ui.UIElement.html#uid)

***

### ownerWindow

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

Defined in: [src/core/component/component.ts:109](https://github.com/xdan/jodit/blob/main/src/core/component/component.ts#L109)

The window in which jodit was created

#### Implementation of

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

#### Inherited from

[`UIElement`](./ui.UIElement.html).[`ownerWindow`](./ui.UIElement.html#ownerwindow)

***

### jodit

**jodit**: `T`

Defined in: [src/core/component/view-component.ts:22](https://github.com/xdan/jodit/blob/main/src/core/component/view-component.ts#L22)

Parent View element

#### Implementation of

[`IUIGroup`](../interfaces/types.IUIGroup.html).[`jodit`](../interfaces/types.IUIGroup.html#jodit)

#### Inherited from

[`UIElement`](./ui.UIElement.html).[`jodit`](./ui.UIElement.html#jodit)

***

### container

**container**: [`HTMLElement`](https://developer.mozilla.org/docs/Web/API/HTMLElement)

Defined in: [src/core/ui/element.ts:34](https://github.com/xdan/jodit/blob/main/src/core/ui/element.ts#L34)

#### Implementation of

[`IUIGroup`](../interfaces/types.IUIGroup.html).[`container`](../interfaces/types.IUIGroup.html#container)

#### Inherited from

[`UIElement`](./ui.UIElement.html).[`container`](./ui.UIElement.html#container)

***

### name

**name**: `string` = `''`

Defined in: [src/core/ui/element.ts:35](https://github.com/xdan/jodit/blob/main/src/core/ui/element.ts#L35)

#### Implementation of

[`IUIGroup`](../interfaces/types.IUIGroup.html).[`name`](../interfaces/types.IUIGroup.html#name)

#### Inherited from

[`UIElement`](./ui.UIElement.html).[`name`](./ui.UIElement.html#name)

***

### mods

`readonly` **mods**: [`IDictionary`](../modules/types.html#idictionary)\<`string` \| `boolean` \| `null`\> = `{}`

Defined in: [src/core/ui/element.ts:133](https://github.com/xdan/jodit/blob/main/src/core/ui/element.ts#L133)

#### Implementation of

[`IUIGroup`](../interfaces/types.IUIGroup.html).[`mods`](../interfaces/types.IUIGroup.html#mods)

#### Inherited from

[`UIElement`](./ui.UIElement.html).[`mods`](./ui.UIElement.html#mods)

***

### syncMod

**syncMod**: `boolean` = `false`

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

Synchronize mods to all children

***

### elements

**elements**: [`IUIElement`](../interfaces/types.IUIElement.html)[] = `[]`

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

#### Implementation of

[`IUIGroup`](../interfaces/types.IUIGroup.html).[`elements`](../interfaces/types.IUIGroup.html#elements)

***

### buttonSize

**buttonSize**: `"small"` \| `"tiny"` \| `"xsmall"` \| `"middle"` \| `"large"` = `'middle'`

Defined in: [src/core/ui/group/group.ts:74](https://github.com/xdan/jodit/blob/main/src/core/ui/group/group.ts#L74)

***

### options?

`readonly` `optional` **options?**: [`IDictionary`](../modules/types.html#idictionary)

Defined in: [src/core/ui/group/group.ts:194](https://github.com/xdan/jodit/blob/main/src/core/ui/group/group.ts#L194)

#### Inherited from

`UIElement.options`

#### Get Signature

**get** **componentName**(): `string`

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

##### Returns

`string`

#### Implementation of

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

#### Inherited from

[`UIElement`](./ui.UIElement.html).[`componentName`](./ui.UIElement.html#componentname)

***

#### Get Signature

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

Defined in: [src/core/component/component.ts:95](https://github.com/xdan/jodit/blob/main/src/core/component/component.ts#L95)

The document in which jodit was created

##### Returns

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

#### Implementation of

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

#### Inherited from

[`UIElement`](./ui.UIElement.html).[`ownerDocument`](./ui.UIElement.html#ownerdocument)

***

#### Get Signature

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

Defined in: [src/core/component/component.ts:102](https://github.com/xdan/jodit/blob/main/src/core/component/component.ts#L102)

Shortcut for `this.ownerDocument`

##### Returns

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

#### Implementation of

[`IUIGroup`](../interfaces/types.IUIGroup.html).[`od`](../interfaces/types.IUIGroup.html#od)

#### Inherited from

[`UIElement`](./ui.UIElement.html).[`od`](./ui.UIElement.html#od)

***

#### Get Signature

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

Defined in: [src/core/component/component.ts:110](https://github.com/xdan/jodit/blob/main/src/core/component/component.ts#L110)

##### Returns

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

#### Implementation of

[`IUIGroup`](../interfaces/types.IUIGroup.html).[`ow`](../interfaces/types.IUIGroup.html#ow)

#### Inherited from

[`UIElement`](./ui.UIElement.html).[`ow`](./ui.UIElement.html#ow)

***

#### Get Signature

**get** **isReady**(): `boolean`

Defined in: [src/core/component/component.ts:145](https://github.com/xdan/jodit/blob/main/src/core/component/component.ts#L145)

Component is ready for work

##### Returns

`boolean`

#### Implementation of

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

#### Inherited from

[`UIElement`](./ui.UIElement.html).[`isReady`](./ui.UIElement.html#isready)

***

#### Get Signature

**get** **isDestructed**(): `boolean`

Defined in: [src/core/component/component.ts:152](https://github.com/xdan/jodit/blob/main/src/core/component/component.ts#L152)

Component was destructed

##### Returns

`boolean`

#### Implementation of

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

#### Inherited from

[`UIElement`](./ui.UIElement.html).[`isDestructed`](./ui.UIElement.html#isdestructed)

***

#### Get Signature

**get** **isInDestruct**(): `boolean`

Defined in: [src/core/component/component.ts:160](https://github.com/xdan/jodit/blob/main/src/core/component/component.ts#L160)

The component is currently undergoing destructuring or has already been destroyed.
Those. you should not the app froze new events on him now or do anything else with him.

##### Returns

`boolean`

#### Implementation of

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

#### Inherited from

[`UIElement`](./ui.UIElement.html).[`isInDestruct`](./ui.UIElement.html#isindestruct)

***

#### Get Signature

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

Defined in: [src/core/component/component.ts:210](https://github.com/xdan/jodit/blob/main/src/core/component/component.ts#L210)

Current component status

##### Returns

[`ComponentStatus`](../modules/types.html#componentstatus)

#### Set Signature

**set** **componentStatus**(`componentStatus`): `void`

Defined in: [src/core/component/component.ts:217](https://github.com/xdan/jodit/blob/main/src/core/component/component.ts#L217)

Setter for current component status

##### Parameters

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

##### Returns

`void`

#### Implementation of

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

#### Inherited from

[`UIElement`](./ui.UIElement.html).[`componentStatus`](./ui.UIElement.html#componentstatus)

***

#### Get Signature

**get** **j**(): `T`

Defined in: [src/core/component/view-component.ts:27](https://github.com/xdan/jodit/blob/main/src/core/component/view-component.ts#L27)

Shortcut for `this.jodit`

##### Returns

`T`

#### Implementation of

[`IUIGroup`](../interfaces/types.IUIGroup.html).[`j`](../interfaces/types.IUIGroup.html#j)

#### Inherited from

[`UIElement`](./ui.UIElement.html).[`j`](./ui.UIElement.html#j)

***

#### Get Signature

**get** **defaultTimeout**(): `number`

Defined in: [src/core/component/view-component.ts:31](https://github.com/xdan/jodit/blob/main/src/core/component/view-component.ts#L31)

##### Returns

`number`

#### Implementation of

[`IUIGroup`](../interfaces/types.IUIGroup.html).[`defaultTimeout`](../interfaces/types.IUIGroup.html#defaulttimeout)

#### Inherited from

[`UIElement`](./ui.UIElement.html).[`defaultTimeout`](./ui.UIElement.html#defaulttimeout)

***

#### Get Signature

**get** **parentElement**(): [`Nullable`](../modules/types.html#nullable)\<[`IUIElement`](../interfaces/types.IUIElement.html)\>

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

##### Returns

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

#### Set Signature

**set** **parentElement**(`parentElement`): `void`

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

##### Parameters

| Parameter | Type |
| ------ | ------ |
| `parentElement` | [`Nullable`](../modules/types.html#nullable)\<[`IUIElement`](../interfaces/types.IUIElement.html)\> |

##### Returns

`void`

#### Implementation of

[`IUIGroup`](../interfaces/types.IUIGroup.html).[`parentElement`](../interfaces/types.IUIGroup.html#parentelement)

#### Inherited from

[`UIElement`](./ui.UIElement.html).[`parentElement`](./ui.UIElement.html#parentelement)

***

#### Get Signature

**get** **allChildren**(): [`IUIElement`](../interfaces/types.IUIElement.html)[]

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

All group children

##### Returns

[`IUIElement`](../interfaces/types.IUIElement.html)[]

#### Implementation of

[`IUIGroup`](../interfaces/types.IUIGroup.html).[`allChildren`](../interfaces/types.IUIGroup.html#allchildren)

#### Call Signature

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

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

Calc BEM element class name

##### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `elementName` | `string` | element name in the bem classification |

##### Returns

`string`

##### Implementation of

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

##### Inherited from

[`UIElement`](./ui.UIElement.html).[`getFullElName`](./ui.UIElement.html#getfullelname)

#### Call Signature

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

Defined in: [src/core/component/component.ts:66](https://github.com/xdan/jodit/blob/main/src/core/component/component.ts#L66)

Calc BEM element class name

##### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `elementName` | `string` | element name in the bem classification |
| `mod` | `string` | - |

##### Returns

`string`

##### Implementation of

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

##### Inherited from

[`UIElement`](./ui.UIElement.html).[`getFullElName`](./ui.UIElement.html#getfullelname)

#### Call Signature

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

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

Calc BEM element class name

##### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `elementName` | `string` | element name in the bem classification |
| `mod` | `string` | - |
| `modValue` | `string` \| `boolean` | - |

##### Returns

`string`

##### Implementation of

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

##### Inherited from

[`UIElement`](./ui.UIElement.html).[`getFullElName`](./ui.UIElement.html#getfullelname)

***

### bindDestruct()

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

Defined in: [src/core/component/component.ts:170](https://github.com/xdan/jodit/blob/main/src/core/component/component.ts#L170)

Bind destructor to some View

#### Parameters

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

#### Returns

`this`

#### Implementation of

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

#### Inherited from

[`UIElement`](./ui.UIElement.html).[`bindDestruct`](./ui.UIElement.html#binddestruct)

***

### setStatus()

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

Defined in: [src/core/component/component.ts:226](https://github.com/xdan/jodit/blob/main/src/core/component/component.ts#L226)

Set component status

#### Parameters

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

#### Returns

`void`

#### See

ComponentStatus

#### Implementation of

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

#### Inherited from

[`UIElement`](./ui.UIElement.html).[`setStatus`](./ui.UIElement.html#setstatus)

***

### hookStatus()

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

Defined in: [src/core/component/component.ts:265](https://github.com/xdan/jodit/blob/main/src/core/component/component.ts#L265)

Adds a handler for changing the component's status

#### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `status` | [`ComponentStatus`](../modules/types.html#componentstatus) | the status at which the callback is triggered |
| `callback` | (`component`) => `void` | a function that will be called when the status is `status` |

#### Returns

`void`

#### Implementation of

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

#### Inherited from

[`UIElement`](./ui.UIElement.html).[`hookStatus`](./ui.UIElement.html#hookstatus)

***

### isInstanceOf()

`static` **isInstanceOf**\<`T`\>(`c`, `constructorFunc`): `c is T`

Defined in: [src/core/component/component.ts:283](https://github.com/xdan/jodit/blob/main/src/core/component/component.ts#L283)

#### Type Parameters

| Type Parameter |
| ------ |
| `T` *extends* [`Component`](./component.Component.html) |

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `c` | `unknown` |
| `constructorFunc` | [`Function`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function) |

#### Returns

`c is T`

#### Inherited from

[`UIElement`](./ui.UIElement.html).[`isInstanceOf`](./ui.UIElement.html#isinstanceof)

***

### i18n()

**i18n**(`text`, ...`params`): `string`

Defined in: [src/core/component/view-component.ts:35](https://github.com/xdan/jodit/blob/main/src/core/component/view-component.ts#L35)

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `text` | `string` |
| ...`params` | (`string` \| `number`)[] |

#### Returns

`string`

#### Implementation of

[`IUIGroup`](../interfaces/types.IUIGroup.html).[`i18n`](../interfaces/types.IUIGroup.html#i18n)

#### Inherited from

[`UIElement`](./ui.UIElement.html).[`i18n`](./ui.UIElement.html#i18n)

***

### getElm()

**getElm**\<`T`\>(`this`, `elementName`): [`Nullable`](../modules/types.html#nullable)\<[`HTMLElement`](https://developer.mozilla.org/docs/Web/API/HTMLElement)\>

Defined in: [src/core/traits/elms.ts:18](https://github.com/xdan/jodit/blob/main/src/core/traits/elms.ts#L18)

Return element with BEM class name

#### Type Parameters

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

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `T` |
| `elementName` | `string` |

#### Returns

[`Nullable`](../modules/types.html#nullable)\<[`HTMLElement`](https://developer.mozilla.org/docs/Web/API/HTMLElement)\>

#### Implementation of

[`IUIGroup`](../interfaces/types.IUIGroup.html).[`getElm`](../interfaces/types.IUIGroup.html#getelm)

#### Inherited from

[`UIElement`](./ui.UIElement.html).[`getElm`](./ui.UIElement.html#getelm)

***

### getElms()

**getElms**\<`T`\>(`this`, `elementName`): [`HTMLElement`](https://developer.mozilla.org/docs/Web/API/HTMLElement)[]

Defined in: [src/core/traits/elms.ts:34](https://github.com/xdan/jodit/blob/main/src/core/traits/elms.ts#L34)

Return elements with BEM class name

#### Type Parameters

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

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `T` |
| `elementName` | `string` |

#### Returns

[`HTMLElement`](https://developer.mozilla.org/docs/Web/API/HTMLElement)[]

#### Implementation of

[`IUIGroup`](../interfaces/types.IUIGroup.html).[`getElms`](../interfaces/types.IUIGroup.html#getelms)

#### Inherited from

[`UIElement`](./ui.UIElement.html).[`getElms`](./ui.UIElement.html#getelms)

***

### setMod()

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

Defined in: [src/core/traits/mods.ts:30](https://github.com/xdan/jodit/blob/main/src/core/traits/mods.ts#L30)

Set/remove BEM class modification

#### Type Parameters

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

#### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `T` | - |
| `name` | `string` | - |
| `value` | [`ModType`](../modules/types.html#modtype) | if null, mod will be removed |
| `container?` | [`HTMLElement`](https://developer.mozilla.org/docs/Web/API/HTMLElement) | - |

#### Returns

`T`

#### Implementation of

[`IUIGroup`](../interfaces/types.IUIGroup.html).[`setMod`](../interfaces/types.IUIGroup.html#setmod)

#### Inherited from

[`UIElement`](./ui.UIElement.html).[`setMod`](./ui.UIElement.html#setmod)

***

### getMod()

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

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

Get BEM class modification value

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | [`IMods`](../interfaces/types.IMods.html) |
| `name` | `string` |

#### Returns

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

#### Implementation of

[`IUIGroup`](../interfaces/types.IUIGroup.html).[`getMod`](../interfaces/types.IUIGroup.html#getmod)

#### Inherited from

[`UIElement`](./ui.UIElement.html).[`getMod`](./ui.UIElement.html#getmod)

***

### bubble()

**bubble**(`callback`): `this`

Defined in: [src/core/ui/element.ts:59](https://github.com/xdan/jodit/blob/main/src/core/ui/element.ts#L59)

Apply callback for all parents

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `callback` | (`parent`) => `void` |

#### Returns

`this`

#### Implementation of

[`IUIGroup`](../interfaces/types.IUIGroup.html).[`bubble`](../interfaces/types.IUIGroup.html#bubble)

#### Inherited from

[`UIElement`](./ui.UIElement.html).[`bubble`](./ui.UIElement.html#bubble)

***

### updateParentElement()

**updateParentElement**(`target`): `this`

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

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `target` | [`IUIElement`](../interfaces/types.IUIElement.html) |

#### Returns

`this`

#### Implementation of

[`IUIGroup`](../interfaces/types.IUIGroup.html).[`updateParentElement`](../interfaces/types.IUIGroup.html#updateparentelement)

#### Inherited from

[`UIElement`](./ui.UIElement.html).[`updateParentElement`](./ui.UIElement.html#updateparentelement)

***

### get()

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

Defined in: [src/core/ui/element.ts:76](https://github.com/xdan/jodit/blob/main/src/core/ui/element.ts#L76)

#### Type Parameters

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

#### Parameters

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

#### Returns

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

#### Implementation of

[`IUIGroup`](../interfaces/types.IUIGroup.html).[`get`](../interfaces/types.IUIGroup.html#get)

#### Inherited from

[`UIElement`](./ui.UIElement.html).[`get`](./ui.UIElement.html#get)

***

### closest()

Find match parent

#### Call Signature

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

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

##### Type Parameters

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

##### Parameters

| Parameter | Type |
| ------ | ------ |
| `ctor` | [`ComponentCompatible`](../interfaces/decorators_component.ComponentCompatible.html)\<`T`\> |

##### Returns

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

##### Implementation of

[`IUIGroup`](../interfaces/types.IUIGroup.html).[`closest`](../interfaces/types.IUIGroup.html#closest)

##### Inherited from

[`UIElement`](./ui.UIElement.html).[`closest`](./ui.UIElement.html#closest)

#### Call Signature

**closest**\<`T`\>(`type`): [`Nullable`](../modules/types.html#nullable)\<`T` *extends* *typeof* [`UIElement`](./ui.UIElement.html) ? [`InstanceType`](https://www.typescriptlang.org/docs/handbook/utility-types.html#instancetypetype)\<`T`\> : `T`\>

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

##### Type Parameters

| Type Parameter |
| ------ |
| `T` *extends* *typeof* [`UIElement`](./ui.UIElement.html) \| [`UIElement`](./ui.UIElement.html)\<[`IViewBased`](../interfaces/types.IViewBased.html)\<[`IViewOptions`](../interfaces/types.IViewOptions.html)\>\> |

##### Parameters

| Parameter | Type |
| ------ | ------ |
| `type` | [`Function`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function) \| [`UIElement`](./ui.UIElement.html)\<[`IViewBased`](../interfaces/types.IViewBased.html)\<[`IViewOptions`](../interfaces/types.IViewOptions.html)\>\> |

##### Returns

[`Nullable`](../modules/types.html#nullable)\<`T` *extends* *typeof* [`UIElement`](./ui.UIElement.html) ? [`InstanceType`](https://www.typescriptlang.org/docs/handbook/utility-types.html#instancetypetype)\<`T`\> : `T`\>

##### Implementation of

[`IUIGroup`](../interfaces/types.IUIGroup.html).[`closest`](../interfaces/types.IUIGroup.html#closest)

##### Inherited from

[`UIElement`](./ui.UIElement.html).[`closest`](./ui.UIElement.html#closest)

***

### closestElement()

`static` **closestElement**(`node`, `type`): [`Nullable`](../modules/types.html#nullable)\<[`IUIElement`](../interfaces/types.IUIElement.html)\>

Defined in: [src/core/ui/element.ts:120](https://github.com/xdan/jodit/blob/main/src/core/ui/element.ts#L120)

Find closest UIElement in DOM

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `node` | [`Node`](https://developer.mozilla.org/docs/Web/API/Node) |
| `type` | [`Function`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function) |

#### Returns

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

#### Inherited from

[`UIElement`](./ui.UIElement.html).[`closestElement`](./ui.UIElement.html#closestelement)

***

### appendTo()

**appendTo**(`element`): `this`

Defined in: [src/core/ui/element.ts:145](https://github.com/xdan/jodit/blob/main/src/core/ui/element.ts#L145)

Append container to element

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `element` | [`HTMLElement`](https://developer.mozilla.org/docs/Web/API/HTMLElement) |

#### Returns

`this`

#### Implementation of

[`IUIGroup`](../interfaces/types.IUIGroup.html).[`appendTo`](../interfaces/types.IUIGroup.html#appendto)

#### Inherited from

[`UIElement`](./ui.UIElement.html).[`appendTo`](./ui.UIElement.html#appendto)

***

### className()

**className**(): `string`

Defined in: [src/core/ui/group/group.ts:34](https://github.com/xdan/jodit/blob/main/src/core/ui/group/group.ts#L34)

#### Returns

`string`

#### Implementation of

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

#### Overrides

[`UIElement`](./ui.UIElement.html).[`className`](./ui.UIElement.html#classname)

***

### getRole()

**getRole**(): `string`

Defined in: [src/core/ui/group/group.ts:38](https://github.com/xdan/jodit/blob/main/src/core/ui/group/group.ts#L38)

#### Returns

`string`

#### Implementation of

[`IUIGroup`](../interfaces/types.IUIGroup.html).[`getRole`](../interfaces/types.IUIGroup.html#getrole)

#### Overrides

[`UIElement`](./ui.UIElement.html).[`getRole`](./ui.UIElement.html#getrole)

***

### update()

**update**(): `void`

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

Update all children

#### Returns

`void`

#### Implementation of

[`IUIGroup`](../interfaces/types.IUIGroup.html).[`update`](../interfaces/types.IUIGroup.html#update)

#### Overrides

[`UIElement`](./ui.UIElement.html).[`update`](./ui.UIElement.html#update)

***

#### Call Signature

**append**(`elm`, `index?`): `this`

Defined in: [src/core/ui/group/group.ts:88](https://github.com/xdan/jodit/blob/main/src/core/ui/group/group.ts#L88)

Append new element into group

##### Parameters

| Parameter | Type |
| ------ | ------ |
| `elm` | [`IUIElement`](../interfaces/types.IUIElement.html) |
| `index?` | `number` |

##### Returns

`this`

##### Implementation of

[`IUIGroup`](../interfaces/types.IUIGroup.html).[`append`](../interfaces/types.IUIGroup.html#append)

#### Call Signature

**append**(`elm`, `distElement?`): `this`

Defined in: [src/core/ui/group/group.ts:89](https://github.com/xdan/jodit/blob/main/src/core/ui/group/group.ts#L89)

Append new element into group

##### Parameters

| Parameter | Type |
| ------ | ------ |
| `elm` | [`IUIElement`](../interfaces/types.IUIElement.html) |
| `distElement?` | `string` |

##### Returns

`this`

##### Implementation of

[`IUIGroup`](../interfaces/types.IUIGroup.html).[`append`](../interfaces/types.IUIGroup.html#append)

#### Call Signature

**append**(`elm`, `distElement?`): `this`

Defined in: [src/core/ui/group/group.ts:90](https://github.com/xdan/jodit/blob/main/src/core/ui/group/group.ts#L90)

Append new element into group

##### Parameters

| Parameter | Type |
| ------ | ------ |
| `elm` | [`IUIElement`](../interfaces/types.IUIElement.html)[] |
| `distElement?` | `string` |

##### Returns

`this`

##### Implementation of

[`IUIGroup`](../interfaces/types.IUIGroup.html).[`append`](../interfaces/types.IUIGroup.html#append)

***

### afterSetMod()

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

Defined in: [src/core/ui/group/group.ts:138](https://github.com/xdan/jodit/blob/main/src/core/ui/group/group.ts#L138)

#### Parameters

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

#### Returns

`void`

#### Implementation of

[`IUIGroup`](../interfaces/types.IUIGroup.html).[`afterSetMod`](../interfaces/types.IUIGroup.html#aftersetmod)

#### Overrides

[`UIElement`](./ui.UIElement.html).[`afterSetMod`](./ui.UIElement.html#aftersetmod)

***

### remove()

**remove**(`elm`): `this`

Defined in: [src/core/ui/group/group.ts:166](https://github.com/xdan/jodit/blob/main/src/core/ui/group/group.ts#L166)

Remove element from group

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `elm` | [`IUIElement`](../interfaces/types.IUIElement.html) |

#### Returns

`this`

#### Implementation of

[`IUIGroup`](../interfaces/types.IUIGroup.html).[`remove`](../interfaces/types.IUIGroup.html#remove)

***

### clear()

**clear**(): `this`

Defined in: [src/core/ui/group/group.ts:181](https://github.com/xdan/jodit/blob/main/src/core/ui/group/group.ts#L181)

Clear group

#### Returns

`this`

#### Implementation of

[`IUIGroup`](../interfaces/types.IUIGroup.html).[`clear`](../interfaces/types.IUIGroup.html#clear)

***

### setParentView()

**setParentView**(`view`): `this`

Defined in: [src/core/ui/group/group.ts:204](https://github.com/xdan/jodit/blob/main/src/core/ui/group/group.ts#L204)

Attach component to View

#### Parameters

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

#### Returns

`this`

#### Implementation of

[`IUIGroup`](../interfaces/types.IUIGroup.html).[`setParentView`](../interfaces/types.IUIGroup.html#setparentview)

#### Overrides

[`UIElement`](./ui.UIElement.html).[`setParentView`](./ui.UIElement.html#setparentview)

***

### destruct()

**destruct**(): `any`

Defined in: [src/core/ui/group/group.ts:210](https://github.com/xdan/jodit/blob/main/src/core/ui/group/group.ts#L210)

#### Returns

`any`

#### Implementation of

[`IUIGroup`](../interfaces/types.IUIGroup.html).[`destruct`](../interfaces/types.IUIGroup.html#destruct)

#### Overrides

[`UIElement`](./ui.UIElement.html).[`destruct`](./ui.UIElement.html#destruct)
