---
title: "HtmlStyleAttributeConverter | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-text/HtmlStyleAttributeConverter/"
---

# HtmlStyleAttributeConverter

> `boolean`

## Type Aliases

### IStyleDictionary

```ts
type IStyleDictionary = object;
```

#### Index Signature

```ts
[prop: string]: string
```

## Functions

### isNullOrEmptyOrWhiteSpace()

```ts
function isNullOrEmptyOrWhiteSpace(str): boolean;
```

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `str` | `string` |

#### Returns

***

### parseStyleAttribute()

```ts
function parseStyleAttribute(style): IStyleDictionary;
```

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `style` | `string` |

#### Returns

[`IStyleDictionary`](#istyledictionary)

***

### serializeStyleAttribute()

```ts
function serializeStyleAttribute(style): string;
```

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `style` | [`IStyleDictionary`](#istyledictionary) |

#### Returns

`string`
