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/lynx/lynx-reload.md.
Lynx
  • English
  • lynx: reload() static method

    Reloads the current page, like the Refresh button.

    Syntax

    reload(value: object, callback: () => void): void;

    Parameters

    value

    The new initial data the page reloading uses.

    callback

    The callback function when page reloading finishes.

    Return Value

    None(undefined).

    Notices

    1. The lynx.reload() method will not trigger the frontend DataProcessor function;
    2. __globalProps, SystemInfo and JS global variables will remain unchanged;
    3. lynx.reload() will trigger the componentWillUnmount/onDetach callbacks of all current frontend components; and recreate new custom components.

    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.