---
title: "UIForm"
---
# UIForm

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

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

## Extends

- [`UIGroup`](./ui_group.UIGroup.html)

## Implements

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

### Constructor

**new UIForm**(...`args`): `UIForm`

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

#### Parameters

| Parameter | Type |
| ------ | ------ |
| ...`args` | \[[`IViewBased`](../interfaces/types.IViewBased.html)\<[`IViewOptions`](../interfaces/types.IViewOptions.html)\>, (`false` \| `void` \| [`IUIElement`](../interfaces/types.IUIElement.html) \| `null`)[], [`IDictionary`](../modules/types.html#idictionary)\] |

#### Returns

`UIForm`

#### Overrides

[`UIGroup`](./ui_group.UIGroup.html).[`constructor`](./ui_group.UIGroup.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

[`UIGroup`](./ui_group.UIGroup.html).[`STATUSES`](./ui_group.UIGroup.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

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

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`async`](./ui_group.UIGroup.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

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

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`uid`](./ui_group.UIGroup.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

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

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`ownerWindow`](./ui_group.UIGroup.html#ownerwindow)

***

### jodit

**jodit**: [`IViewBased`](../interfaces/types.IViewBased.html)

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

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

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`jodit`](./ui_group.UIGroup.html#jodit)

***

### 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

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

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`name`](./ui_group.UIGroup.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

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

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`mods`](./ui_group.UIGroup.html#mods)

***

### container

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

Defined in: [src/core/ui/form/form.ts:28](https://github.com/xdan/jodit/blob/main/src/core/ui/form/form.ts#L28)

#### Implementation of

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

#### Overrides

[`UIGroup`](./ui_group.UIGroup.html).[`container`](./ui_group.UIGroup.html#container)

***

### 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

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`syncMod`](./ui_group.UIGroup.html#syncmod)

***

### 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

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

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`elements`](./ui_group.UIGroup.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)

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`buttonSize`](./ui_group.UIGroup.html#buttonsize)

***

### 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

[`UIGroup`](./ui_group.UIGroup.html).[`options`](./ui_group.UIGroup.html#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

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

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`componentName`](./ui_group.UIGroup.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

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

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`ownerDocument`](./ui_group.UIGroup.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

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

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`od`](./ui_group.UIGroup.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

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

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`ow`](./ui_group.UIGroup.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

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

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`isReady`](./ui_group.UIGroup.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

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

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`isDestructed`](./ui_group.UIGroup.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

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

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`isInDestruct`](./ui_group.UIGroup.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

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

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`componentStatus`](./ui_group.UIGroup.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

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

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`j`](./ui_group.UIGroup.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

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

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`defaultTimeout`](./ui_group.UIGroup.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

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

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`parentElement`](./ui_group.UIGroup.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

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

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`allChildren`](./ui_group.UIGroup.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

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

##### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`getFullElName`](./ui_group.UIGroup.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

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

##### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`getFullElName`](./ui_group.UIGroup.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

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

##### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`getFullElName`](./ui_group.UIGroup.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

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

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`bindDestruct`](./ui_group.UIGroup.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

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

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`setStatus`](./ui_group.UIGroup.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

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

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`hookStatus`](./ui_group.UIGroup.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

[`UIGroup`](./ui_group.UIGroup.html).[`isInstanceOf`](./ui_group.UIGroup.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

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

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`i18n`](./ui_group.UIGroup.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

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

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`getElm`](./ui_group.UIGroup.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

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

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`getElms`](./ui_group.UIGroup.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

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

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`setMod`](./ui_group.UIGroup.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

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

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`getMod`](./ui_group.UIGroup.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

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

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`bubble`](./ui_group.UIGroup.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

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

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`updateParentElement`](./ui_group.UIGroup.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

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

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`get`](./ui_group.UIGroup.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

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

##### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`closest`](./ui_group.UIGroup.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

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

##### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`closest`](./ui_group.UIGroup.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

[`UIGroup`](./ui_group.UIGroup.html).[`closestElement`](./ui_group.UIGroup.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

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

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`appendTo`](./ui_group.UIGroup.html#appendto)

***

### className()

**className**(): `string`

Defined in: [src/core/ui/form/form.ts:24](https://github.com/xdan/jodit/blob/main/src/core/ui/form/form.ts#L24)

#### Returns

`string`

#### Implementation of

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

#### Overrides

[`UIGroup`](./ui_group.UIGroup.html).[`className`](./ui_group.UIGroup.html#classname)

***

### submit()

**submit**(): `void`

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

#### Returns

`void`

#### Implementation of

[`IUIForm`](../interfaces/types.IUIForm.html).[`submit`](../interfaces/types.IUIForm.html#submit)

***

### validate()

**validate**(): `boolean`

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

#### Returns

`boolean`

#### Implementation of

[`IUIForm`](../interfaces/types.IUIForm.html).[`validate`](../interfaces/types.IUIForm.html#validate)

***

### onSubmit()

**onSubmit**(`handler`): `this`

Defined in: [src/core/ui/form/form.ts:58](https://github.com/xdan/jodit/blob/main/src/core/ui/form/form.ts#L58)

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `handler` | (`data`) => `false` \| `void` |

#### Returns

`this`

#### Implementation of

[`IUIForm`](../interfaces/types.IUIForm.html).[`onSubmit`](../interfaces/types.IUIForm.html#onsubmit)

***

### 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

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

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`getRole`](./ui_group.UIGroup.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

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

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`update`](./ui_group.UIGroup.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

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

##### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`append`](./ui_group.UIGroup.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

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

##### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`append`](./ui_group.UIGroup.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

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

##### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`append`](./ui_group.UIGroup.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

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

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`afterSetMod`](./ui_group.UIGroup.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

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

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`remove`](./ui_group.UIGroup.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

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

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`clear`](./ui_group.UIGroup.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` | [`IViewBased`](../interfaces/types.IViewBased.html) |

#### Returns

`this`

#### Implementation of

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

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`setParentView`](./ui_group.UIGroup.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

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

#### Inherited from

[`UIGroup`](./ui_group.UIGroup.html).[`destruct`](./ui_group.UIGroup.html#destruct)
