> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# lynx: stopExposure() static method

APISummary
The `lynx.stopExposure` method can be used to stop exposure detection, that is, the visibility of the target node will no longer be detected, and exposure/anti-exposure events will no longer be triggered in the future. You can call [lynx.resumeExposure](/next/api/lynx-api/lynx/lynx-resume-exposure.md) to restart exposure detection.

## Syntax

```ts
stopExposure(options?: StopExposureOptions): void;
```

### Parameters

#### options

```ts
interface StopExposureOptions {
  sendEvent?: boolean;
}
```

Specify the behavior of `lynx.stopExposure`:

- `sendEvent`: Specify whether to send anti-exposure events of all currently visible target nodes. Defaults to `true`.

### return value

None (`undefined`).

## Compatibility

**Compatibility Table**

**Query:** `lynx-api.lynx.stopExposure`

[Source](https://github.com/lynx-family/lynx-website/tree/main/packages/lynx-compat-data/lynx-api/lynx/stopExposure.json)

| Feature | Android | HarmonyOS | iOS | macOS | Windows | Web |
| --- | --- | --- | --- | --- | --- | --- |
| stopExposure | Yes (2.9) | Yes (3.4) | Yes (2.9) | Yes (3.5) | Yes (3.5) | Yes |

**`stopExposure`**

Stop exposure detection, that is, the visibility of the target node will no longer be detected, and exposure/anti-exposure events will no longer be triggered in the future.

