File

src/querying/types.ts

Index

Properties

Properties

descendants
descendants: boolean
Type : boolean
Optional

Specifies whether or not the search should consider all descendants or only direct children. Defaults to false.

exclude
exclude: boolean
Type : boolean
Optional

Specifies whether or not the element that is found should be excluded, such that the BqIncludedPipe pipe will skip over it when rendering children. This is useful in the situation where you need to extract a certain element out of the page but still need to render all other children as usual, in which case the excluded element will be skipped over. Defaults to false.

observe
observe: boolean
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.

optional
optional: boolean
Type : boolean
Optional

Specifies if the query result is optional. By default, a descriptive exception is thrown when no matching element could be found. If you do need to support the case where no element is found, set this option to true in which case the property may also receive an undefined value.

result-matching ""

    No results matching ""