When you click on a sentence, you will usually see a big text box that takes more information from you wherever necessary. It looks as below:
Here is how you write expressions:
appData
to get suggestions on the things you can use.appData
is also visible on the right side when you click on any sentence. You can explore all the data at any time.return
statement. If you write a multi-line expression, you will have to add a return
statement to correctly return data from the expression box.value
key.currentItem
key from the list data to refer to the i
th item of the list. You can read more about how to describe lists here.clickedItem
to get the data of the item that was clicked in a list. You can use this data to render appropriate data in the next pages.appData
variable corresponding to the API call with the keys loading
, ok
and body
. The loading
will be true while the API is in pending state, the ok
key will be true if the API call was successful and the body
key will contain the response of the API.appData
that exists at that point in time. This means that an expression which throws an error at one point might return data correctly at some other point when the data it depends on is well-defined. So make sure you check the application state if your expression is not working correctly.