# BooleanInputArgs

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

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

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

## Properties

### tabIndex

```ts
tabIndex?: number
```

Sets the tabIndex of the [BooleanInput](https://api.playcanvas.com/pcui/classes/BooleanInput.md). Defaults to 0.

### type

```ts
type?: string
```

The type of checkbox. Currently can be `null` or 'toggle'.

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

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

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