@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
40 lines (27 loc) • 1.43 kB
Markdown
lang: en
title: 'API docs: context-explorer.contextbinding'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/extensions/context-explorer
permalink: /doc/en/lb4/apidocs.context-explorer.contextbinding.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/context-explorer](./context-explorer.md) > [ContextBinding](./context-explorer.contextbinding.md)
## ContextBinding class
A wrapper class for context, binding, and its level in the chain
<b>Signature:</b>
```typescript
export declare class ContextBinding
```
## Constructors
| Constructor | Modifiers | Description |
| --- | --- | --- |
| [(constructor)(context, binding, level)](./context-explorer.contextbinding._constructor_.md) | | Constructs a new instance of the <code>ContextBinding</code> class |
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [binding](./context-explorer.contextbinding.binding.md) | | [JSONObject](./context.jsonobject.md) | |
| [context](./context-explorer.contextbinding.context.md) | | [JSONObject](./context.jsonobject.md) | |
| [id](./context-explorer.contextbinding.id.md) | | string | |
| [level](./context-explorer.contextbinding.level.md) | | number | |