<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[`BasesViewConfig`](BasesViewConfig) › [`set`](BasesViewConfig/set)
## BasesViewConfig.set() method
Store configuration data for the view. Views should prefer `BasesViewRegistration.options` to allow users to configure options where appropriate.
1.10.0
**Signature:**
```typescript
set(key: string, value: any | null): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| <code>key</code> | <code>string</code> | |
| <code>value</code> | <code>any | null</code> | |
**Returns:**
`void`