# list/listproperties/utils/style

module

<a id="functions">

## Functions

<a id="function-getAllSupportedStyleTypes">

### `getAllSupportedStyleTypes() → Array<string>` _(internal)_

Gets all the style types supported by given list type.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-list/src/listproperties/utils/style.ts#L43)

#### Returns

* `Array<string>`

<a id="function-getListStyleTypeFromTypeAttribute">

### `getListStyleTypeFromTypeAttribute( value ) → string | null` _(internal)_

Converts `type` attribute of `<ul>` or `<ol>` elements to `list-style-type` equivalent.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-list/src/listproperties/utils/style.ts#L61)

#### Parameters

* `value: string`

#### Returns

* `string | null`

<a id="function-getListTypeFromListStyleType">

### `getListTypeFromListStyleType( listStyleType ) → 'numbered' | 'bulleted' | null` _(internal)_

Checks whether the given list-style-type is supported by numbered or bulleted list.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-list/src/listproperties/utils/style.ts#L52)

#### Parameters

* `listStyleType: string`

#### Returns

* `'numbered' | 'bulleted' | null`

<a id="function-getTypeAttributeFromListStyleType">

### `getTypeAttributeFromListStyleType( value ) → string | null` _(internal)_

Converts `list-style-type` style to `type` attribute of `<ul>` or `<ol>` elements.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-list/src/listproperties/utils/style.ts#L70)

#### Parameters

* `value: string`

#### Returns

* `string | null`

<a id="function-normalizeListStyle">

### `normalizeListStyle( listStyle ) → string` _(internal)_

Normalizes list style by converting aliases to their canonical form.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-list/src/listproperties/utils/style.ts#L86)

#### Parameters

* `listStyle: string`

  The list style value to normalize.

#### Returns

* `string`

  The canonical form of the list style.

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
