---
lang: en
title: 'API docs: context-explorer.contextbinding'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/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) &gt; [@loopback/context-explorer](./context-explorer.md) &gt; [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 |  |


