<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[`View`](View) › [`setEphemeralState`](View/setEphemeralState)
## View.setEphemeralState() method
0.9.7
**Signature:**
```typescript
setEphemeralState(state: unknown): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| <code>state</code> | <code>unknown</code> | |
**Returns:**
`void`