__AddInlineStyleAdds inline styles to the Element object.
| Key | Description |
|---|---|
| element | Any Element object. |
| id | A number that corresponds to a style key, for example, 0 corresponds to the style top. |
| value | The style value to be set, which can be a string, null, or undefined. When a string is provided, the Lynx SDK will set the corresponding key and value for the Element; if previously set, it will overwrite the previous value. When null or undefined is provided, the Lynx SDK will remove the key from the inline styles of the Element. |
No return value.
The frontend framework can process the corresponding frontend tags into render directives as shown below.