HUB Client Docs

DEPRECATED

Expressions

Expressions is simple way to access data from app runtime, or response from server. Data is accessed by object, that we internaly call AppDataContext. If expression fails, it will returns undefined. If you specify default parameter, it will be returned when expression fails.

Examples:

property: !expression flow.export.value
property:
  !expression eval: flow.export.value
  default: Nothing

Functions

Function is another type of expression. It’s usefull to add some callbacks, for example to button on click event. Its also needed to create script snipet.

AppDataContext: