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.

params

params: object;

Represents some state information of the component customization.

detail

detail: object;

Represents some state information of the component customization.

Compatibility

Loading

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.