For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt, and this page is available as Markdown at /next/api/lynx-api/main-thread/lynx-stop-exposure.md.
Lynx
  • English
  • lynx: stopExposure() static method

    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 to restart exposure detection.

    Syntax

    stopExposure(options?: StopExposureOptions): void;

    Parameters

    options

    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

    LCD tables only load in the browser

    Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.