# VectorInputArgs

Interface · extends [`IBindableArgs`](https://api.playcanvas.com/pcui/interfaces/IBindableArgs.md)`<number[] | string>`, `IMultiPlaceholderArgs`

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

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

## Properties

### dimensions

```ts
dimensions?: 2 | 3 | 4
```

The number of dimensions in the vector. Can be between 2 to 4. Defaults to 3.

### max

```ts
max?: number
```

The maximum value of each vector element.

### min

```ts
min?: number
```

The minimum value of each vector element.

### precision

```ts
precision?: number
```

The decimal precision of each vector element. Defaults to 7.

### step

```ts
step?: number
```

The incremental step when using arrow keys or dragger for each vector element.

### stepPrecision

```ts
stepPrecision?: number
```

The incremental step when holding Shift and using arrow keys or dragger for each vector element.

## 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: number[]) => void`
- `onClick?: () => void`
- `onRemove?: () => void`
- `parent?: Element`
- `readOnly?: boolean`
- `style?: string`
- `tabIndex?: number`
- `width?: number`

## Inherited from IMultiPlaceholderArgs

- `placeholder?: string | string[]`

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

- `renderChanges?: boolean`
- `value?: string | number[]`
- `values?: (string | number[])[]`
