GlobalProps
lynx.__globalProps is a global object that you can access from anywhere.
- It is read-only in the front-end code, you cannot modify its value.
- The client can set and update its value by calling APIs provided by the Lynx SDK.
- Every time the client performs an update, it will trigger the
onGlobalPropsChangedevent, followed by a re-rendering of the entire page.
Usage
Event Listening
You can listen for changes to __globalProps in your component.
Client side
__globalProps can be updated through APIs provided by LynxView.
Android
iOS
Compatibility
LCD tables only load in the browser