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/lynx-native-api/lynx-view/reload.md.
Lynx
  • 简体中文
  • reload

    重新加载当前页面。

    语法

    Web

    reload(): void;

    Desktop (C++)

    void ReloadTemplate(std::shared_ptr<lynx::pub::LynxTemplateData> data,
                        std::shared_ptr<lynx::pub::LynxTemplateData> global_props);

    参数说明

    • data: 用于重新加载的模板数据。
    • global_props: 用于重新加载的全局属性;不需要时传 nullptr

    兼容性

    LCD tables only load in the browser

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