Skip to content

Interface

The ExpressionResolverComponent component props.

Properties

PropertyTypeNotes
childrenReactNode | ResolverRenderFunction

If one of children components' rendering depends on the resolved result, you can choose to use this render function.

expressionIMExpression | IMExpressionMap | IMAdvancedExpression

Expressions that need to be resolved.

onChange(resolvedResultsMultipleExpressionResolveResults | SingleExpressionResolveResult) => void

Whether or not the expression is resolved successfully, the function will be called.

records{}

If included, it will use these records to resolve the expression. If not, it will use useDataSources to create the data source instances, then use these data sources to resolve the expression.

useDataSourcesImmutableArray<UseDataSource>

Widget's useDataSources , the data sources that the widget is using. If the data source of one expression part is not in the array, this part will not be resolved.

widgetIdstring

Id of the widget.

children

optional
Interface Property

expression

Interface Property

onChange

optional
Interface Property

records

optional
Interface Property

useDataSources

optional
Interface Property

widgetId

Interface Property

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.