Arguments

Various arguments controlling elements, actions and pages
You have two different ways of filling arguments:
- the default UI for each type that has static behavior. For example if you set a text value argument of a text element with its stock UI to
Foo Barr
, it will always display that text on the element. Note that even though it is a static field you can use the mustache notation as a template utility to fill dynamic data. - the expression mode, a text area where you can write JavaScript code and complex logic. For example if you set a text value argument of a text element with expression mode to
$.isLoading ? "Loading" : "Done!"
, it will check theisLoading
context variable to decide if its going displayLoading
orDone!
. (Yes, that is a ternary operator, see more on expression mode).
Last modified 1yr ago