# ArrayInputArgs

Interface · extends [`IBindableArgs`](https://api.playcanvas.com/pcui/interfaces/IBindableArgs.md)`<unknown[]>`

Source: https://github.com/playcanvas/pcui/blob/77ed2b8ba8660c9644049b0d1942652721e7a6c4/src/components/ArrayInput/index.ts#L34

The arguments for the [ArrayInput](https://api.playcanvas.com/pcui/classes/ArrayInput.md) constructor.

## Properties

### elementArgs

```ts
elementArgs?: ElementConfig
```

Arguments for each array Element.

### fixedSize

```ts
fixedSize?: boolean
```

If `true` then editing the number of elements that the array has will not be allowed.

### getDefaultFn

```ts
getDefaultFn?: () => unknown
```

Used to specify the default values for each element in the array. Defaults to `null`.

### type

```ts
type?: "string" | "number" | "boolean" | "vec2" | "vec3" | "vec4"
```

The type of values that the array can hold. Can be one of the following:

- `boolean`
- `number`
- `string`
- `vec2`
- `vec3`
- `vec4`

Defaults to `string`.

### usePanels

```ts
usePanels?: boolean
```

If `true` then the array will be rendered using panels. Defaults to `false`.

## Inherited from ElementArgs

- `alignItems?: string`
- `alignSelf?: string`
- `binding?: BindingBase`
- `class?: string | string[]`
- `dom?: string | HTMLElement`
- `enabled?: boolean`
- `error?: boolean`
- `flexBasis?: string | number`
- `flexDirection?: string`
- `flexGrow?: string | number`
- `flexShrink?: string | number`
- `flexWrap?: string`
- `height?: number`
- `hidden?: boolean`
- `id?: string`
- `ignoreParent?: boolean`
- `isRoot?: boolean`
- `justifyContent?: string`
- `justifySelf?: string`
- `link?: { observer: Observer | Observer[]; path: string | string[] }`
- `onChange?: (value: unknown[]) => void`
- `onClick?: () => void`
- `onRemove?: () => void`
- `parent?: Element`
- `readOnly?: boolean`
- `style?: string`
- `tabIndex?: number`
- `width?: number`

## Inherited from [IBindableArgs](https://api.playcanvas.com/pcui/interfaces/IBindableArgs.md)

- `renderChanges?: boolean`
- `value?: unknown[]`
- `values?: unknown[][]`
