Home > @activeviam/activeui-sdk > ReactContainerApi
ReactContainerApi interface
Signature:
export interface ReactContainerApi
Properties
Property | Type | Description |
---|---|---|
bindQuery | (a: Query) => () => void | Add the query to the list of this container's data sources. Returns a function to unbind the query. This should be called synchronously when the container mounts, otherwise it might not be picked up by some widgets on the dashboard (e.g. Mdx Editor). |
getChildrenMap | () => { [a in ContainerChildKey]: WidgetApi; } | |
getDataSources | () => DataSource[] | |
getValue | () => ReactContainerBody | |
setValue | (a: ReactContainerBody) => void |