---
title: "UISpacer"
---
# UISpacer

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

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

## Extends

- [`UIElement`](./ui.UIElement.html)

### Constructor

**new UISpacer**(`jodit`, `options?`): `UISpacer`

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

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `jodit` | [`IViewBased`](../interfaces/types.IViewBased.html) |
| `options?` | [`IDictionary`](../modules/types.html#idictionary) |

#### Returns

`UISpacer`

#### Inherited from

[`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)

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

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

#### Inherited from

[`UIElement`](./ui.UIElement.html).[`ownerWindow`](./ui.UIElement.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

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

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

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

#### Inherited from

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

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

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

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

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

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

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

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

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

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

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

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

#### Inherited from

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

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

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

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

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

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

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

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

#### Inherited from

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

***

### setParentView()

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

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

Attach component to View

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `jodit` | [`IViewBased`](../interfaces/types.IViewBased.html) |

#### Returns

`this`

#### Inherited from

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

***

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

#### 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)[]

#### Inherited from

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

***

### afterSetMod()

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

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

#### Parameters

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

#### Returns

`void`

#### Inherited from

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

***

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

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

#### Inherited from

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

***

### getRole()

**getRole**(): `string`

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

#### Returns

`string`

#### Inherited from

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

***

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

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

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

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

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

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

***

### update()

**update**(): `void`

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

Update UI from state

#### Returns

`void`

#### Inherited from

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

***

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

#### Inherited from

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

***

### destruct()

**destruct**(): `any`

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

#### Returns

`any`

#### Inherited from

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

***

### className()

**className**(): `string`

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

#### Returns

`string`

#### Overrides

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