Skip to content

Commit 1490c56

Browse files
authored
docs(lit/context): Correct event name
1 parent bd81b0c commit 1490c56

File tree

1 file changed

+2
-2
lines changed
  • packages/lit-dev-content/site/docs/v3/data

1 file changed

+2
-2
lines changed

packages/lit-dev-content/site/docs/v3/data/context.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -485,14 +485,14 @@ ContextRoot()
485485

486486
Detaches the ContextRoot from this element, stops listening to `context-request` events.
487487

488-
### `ContextRequestEvent`
488+
### `ContextEvent`
489489

490490
The event fired by consumers to request a context value. The API and behavior of this event is specified by the [Context Protocol](https://github.com/webcomponents-cg/community-protocols/blob/main/proposals/context.md).
491491

492492
**Import**:
493493

494494
```ts
495-
import {ContextRequestEvent} from '@lit/context';
495+
import {ContextEvent} from '@lit/context';
496496
```
497497

498498
The `context-request` bubbles and is composed.

0 commit comments

Comments
 (0)