> For the complete documentation index, see [llms.txt](https://docs.facephi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.facephi.com/docs.facephi-en/sdks/sdk-web/componentes/selphid-documentos/propiedades/expectedsides.md).

# expectedSides

## Details

**Attribute:** `expected-sides`

**Type:** `ExpectedSides`

**Default value:** `ExpectedSides.Auto`

### ExpectedSides

| Member        | Value | Description                               |
| ------------- | ----- | ----------------------------------------- |
| `Single side` | `0`   | Single side.                              |
| `Auto`        | `1`   | Automatic side detection (default value). |

## Morphology

```typescript
import { ExpectedSides } from '@facephi/selphid-web-component';

selphid.expectedSides = ExpectedSides.Auto;
```

## Description

Indicates whether `facephi-selphid-widget` it should capture a single side or automatically detect the back side when it exists.

### Additional information

**Compatibility:** Replaces `documentMode` in previous versions of the SDK Web.

***

## Example

```jsx
import { ExpectedSides } from '@facephi/selphid-web-component';

<facephi-selphid-widget
    expectedSides={ExpectedSides.Auto}
/>
```
