Syntax for style logic?

For one of our components, we have access to “Styles Logic”. But I cannot figure out the syntax for how to set style in there… for example, this:

results in errors such as

Uncaught (in promise) TypeError: Failed to set an indexed property on 'CSSStyleDeclaration': Indexed property setter is not supported.

Does the logic in this area need to return a CSS statement? Or something else? What’s the syntax? The UiBuilder docs are blank (e.g. https://backendless.com/docs/uibuilder/ui_property_handlers.html), is there documentation somewhere else?

Hello @Alex_Klein!

We apologize for the inconvenience, we are working on filling out the documentation.

You can use this handler in the following way:

Regards,
Alexander

1 Like

Ah perfect, thank you for the quick answer :heart: