Page Contents
Home > @loopback/context > ContextView > (constructor)
ContextView.(constructor)
Create a context view
Signature:
constructor(context: Context, filter: BindingFilter, comparator?: BindingComparator | undefined);
Parameters
Parameter | Type | Description |
---|---|---|
context | Context | Context object to watch |
filter | BindingFilter | Binding filter to match bindings of interest |
comparator | BindingComparator | undefined | Comparator to sort the matched bindings |