@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
70 lines (36 loc) • 1.15 kB
Markdown
---
lang: en
title: 'API docs: context.contextviewevent'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/context
permalink: /doc/en/lb4/apidocs.context.contextviewevent.html
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/context](./context.md) > [ContextViewEvent](./context.contextviewevent.md)
## ContextViewEvent interface
An event emitted by a `ContextView`
**Signature:**
```typescript
export interface ContextViewEvent<T> extends ContextEvent
```
**Extends:** [ContextEvent](./context.contextevent.md)
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td markdown="1">
[cachedValue?](./context.contextviewevent.cachedvalue.md)
</td><td markdown="1">
</td><td markdown="1">
T
</td><td markdown="1">
_(Optional)_ Optional cached value for an `unbind` event
</td></tr>
</tbody></table>