Skip to content

Commit 9587499

Browse files
authored
Fix context provide decorator api doc (#1277)
1 parent 2da6dd1 commit 9587499

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ The `ValueType` type parameter is the type of value that can be provided by this
369369

370370
### `@provide()`
371371

372-
A property decorator that adds a ContextConsumer controller to the component which will try and retrieve a value for the property via the Context API.
372+
A property decorator that adds a ContextProvider controller to the component making it respond to any `context-request` events from its children consumer.
373373

374374
**Import**:
375375

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ The `ValueType` type parameter is the type of value that can be provided by this
367367

368368
### `@provide()`
369369

370-
A property decorator that adds a ContextConsumer controller to the component which will try and retrieve a value for the property via the Context API.
370+
A property decorator that adds a ContextProvider controller to the component making it respond to any `context-request` events from its children consumer.
371371

372372
**Import**:
373373

0 commit comments

Comments
 (0)