@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
32 lines (21 loc) • 1.17 kB
Markdown
lang: en
title: 'API docs: context-explorer.contextexplorercomponent._constructor_'
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.contextexplorercomponent._constructor_.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/context-explorer](./context-explorer.md) > [ContextExplorerComponent](./context-explorer.contextexplorercomponent.md) > [(constructor)](./context-explorer.contextexplorercomponent._constructor_.md)
## ContextExplorerComponent.(constructor)
Constructs a new instance of the `ContextExplorerComponent` class
<b>Signature:</b>
```typescript
constructor(application: RestApplication, explorerConfig?: ContextExplorerConfig);
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| application | [RestApplication](./rest.restapplication.md) | |
| explorerConfig | [ContextExplorerConfig](./context-explorer.contextexplorerconfig.md) | |