ExpressionResolverComponentProps

Interface

The ExpressionResolverComponent component props.

Properties

PropertyTypeNotes
children
 optional 

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

Expressions that need to be resolved.

ImmutableArray<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.

string

Id of the widget.

children optional

children: ReactNode | ResolverRenderFunction

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

expression

expression: IMExpressionMap | IMExpression

Expressions that need to be resolved.

useDataSources

useDataSources: ImmutableArray<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.

widgetId

widgetId: string

Id of the widget.

Methods

MethodReturnsNotes
onChange(resolvedResults)
 optional 
void

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

onChange optional

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

Parameters
Returns 
void

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