---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.3
alternate:
  - https://divkit.tech/docs/en/concepts/divs/2/div-stretch-indicator-item-placement.md
  - https://divkit.tech/docs/ru/concepts/divs/2/div-stretch-indicator-item-placement.md
---
> **Documentation Index:** Fetch the complete configuration index at https://divkit.tech/docs/en/llms.txt

# div-stretch-indicator-item-placement
Element size adjusts to a parent element.

## Parameters
| Parameters | Description |
| --- | --- |
| `type` | <p>**string**</p><p>Required parameter.</p><p>The value must always be `stretch`.</p><p>Available platforms: Android, iOS, web.</p> |
| `item_spacing` | <p>**object**</p><p>Spacing between indicator centers.</p><p>The value has the type `div-fixed-size`.</p><p>Default value: `{"type": "fixed","value":5}`.</p><p>Available platforms: Android, iOS, web.</p> |
| `max_visible_items` | <p>**int**</p><p>Maximum number of visible indicators.</p><p>Restriction for the value `x`: `x > 0`.</p><p>Default value: `10`.</p><p>Available platforms: Android, iOS, web.</p> |

<details>
<summary>JSON</summary>

```json
{
  type*: "stretch",
  item_spacing: {
    type*: "fixed",
    unit: "string",
    value*: "int"
  },
  max_visible_items: "int"
}
```
</details>
