For AI agents: the complete documentation index is available at /next/zh/llms.txt, the full documentation bundle is available at /next/zh/llms-full.txt, and this page is available as Markdown at /next/zh/api/reactlynx-testing-library/TypeAlias.Screen.md.
Lynx
  • 简体中文
  • reactlynx-testing-library / Screen

    Screen<Q>

    type Screen<Q>: BoundFunctions<Q> & object;

    类型声明

    debug()

    debug: (element?: (Element | HTMLDocument)[] | Element | HTMLDocument, maxLength?: number, options?: act) => void;

    Convenience function for pretty-dom which also allows an array of elements

    参数

    范围类型
    element?(Element | HTMLDocument)[] | Element | HTMLDocument
    maxLength?number
    options?act

    返回

    void

    logTestingPlaygroundURL()

    logTestingPlaygroundURL: (element?: Element | HTMLDocument) => string;

    Convenience function for Testing Playground which logs and returns the URL that can be opened in a browser

    参数

    范围类型
    element?Element | HTMLDocument

    返回

    string

    类型参数

    类型参数默认类型
    Q extends Queriestypeof queries

    定义于

    index.d.ts:1497

    除非另有说明,本项目采用知识共享署名 4.0 国际许可协议进行许可,代码示例采用 Apache License 2.0 许可协议进行许可。