Components

Query Container

The QueryContainer is a wrapper around other components which request data from a query, such as from the HttpClient or an QueryRef from Apollo. As long as no error is thrown and no data is present in the QueryResult, the component displays a loading indicator.

Before and after the query is resolved.

Selector

<cause-query-container>

Inputs

@Input() query: Observable<QueryResult<any>>

Example

Last updated

Was this helpful?