Skip to content

Commit 2550526

Browse files
author
Nathan Brown
authored
[docs] update ContextRequestEvent signature (#1403)
* [docs] update ContextRequestEvent signature Document changes to ContextRequestEvent in @lit/context lit/lit#4734 * [docs] Update param description of contextTarget
1 parent 85391c6 commit 2550526

File tree

1 file changed

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

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,10 @@ The `context-request` bubbles and is composed.
503503

504504
The context object this event is requesting a value for
505505

506+
- `readonly contextTarget: Element`
507+
508+
The DOM element that initiated the context request
509+
506510
- `readonly callback: ContextCallback<ContextType<C>>`
507511

508512
The function to call to provide a context value

0 commit comments

Comments
 (0)