---
title: "IListStyleSheetAccessor | Customer&#x27;s Canvas"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-text/IListStyleSheetAccessor/"
archived: false
applies_to:
  - product: "Customer's Canvas On-Premises"
  - product: "Customer's Canvas Hub"
    versions: ["cloud"]
    entity_id: "https://customerscanvas.com/products/hub#software-application"
  - product: "Design Atoms JS"
    versions: ["7.4"]
---

# IListStyleSheetAccessor

**Applies to:** Customer's Canvas On-Premises; Customer's Canvas Hub cloud; Design Atoms JS 7.4

> API reference for the IListStyleSheetAccessor module in @aurigma/design-atoms-text.

## Interfaces

### IListStyleSheetAccessor

#### Properties

##### name

```ts
name: string;
```

Style name.

#### Methods

##### getAllListStyles()

```ts
getAllListStyles(): IListStyle[];
```

Returns all styles of the list.

###### Returns

[`IListStyle`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-text/IListStyle.md#iliststyle)[]

##### getListStyle()

```ts
getListStyle(level): IListStyle;
```

Returns the style of the list by level.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `level` | `number` | nesting level of the list item (starts at 0). |

###### Returns

[`IListStyle`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-text/IListStyle.md#iliststyle)

##### getListStyleSheet()

```ts
getListStyleSheet(): IListStyleSheet;
```

Returns list style sheet.

###### Returns

[`IListStyleSheet`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-text/IListStyleSheet.md#iliststylesheet)

##### setListStyle()

```ts
setListStyle(level, style): void;
```

Sets the style of the list by level.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `level` | `number` | nesting level of the list item (starts at 0). |
| `style` | [`IListStyle`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-text/IListStyle.md#iliststyle) | list style. |

###### Returns

`void`
