src/querying/types.ts
Properties |
|
descendants |
descendants:
|
Type : boolean
|
Optional |
Specifies whether or not the search should consider all descendants or only direct children. Defaults to false. |
exclude |
exclude:
|
Type : boolean
|
Optional |
Specifies whether or not the elements that are found should be excluded, such that the BqIncludedPipe pipe will skip over when rendering children. This is useful in the situation where you need to extract certain elements out of the page but still need to render all other children as usual, in which case the excluded elements will be skipped over. Defaults to false. |
observe |
observe:
|
Type : boolean
|
Optional |
Specifies whether the result should be provided as an observable. When set to true, the property will be assigned an Observable that emits when the query result updates. Defaults to false. |
required |
required:
|
Type : boolean
|
Optional |
Specifies if the query result is required. By default, the property receives an empty array when no matching element could be found. If you do require that at least a single element is found, set this option to true in which case a descriptive exception will be thrown when no matching elements can be found. |