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/event/custom-event.md.
Lynx
  • English
  • CustomEvent

    Represents a custom event object, inherited from Event, used to describe the state changes of the component customization, such as scroll.

    This event object contains some state information of the component customization, and developers can use it to understand the state changes of the component.

    Instance property

    Info

    There are two properties of the custom event object, one is params, the other is detail. params will be discarded in the future, and it is recommended to use detail.

    Starting with Lynx version 3.1, custom event objects will always include the detail property.

    params

    params: object;

    Represents some state information of the component customization.

    detail

    detail: object;

    Represents some state information of the component customization.

    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.