Skip to content

Commit e696bd9

Browse files
committed
CR Review
1 parent 807b559 commit e696bd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/frontend/custom-ui/custom-strategy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Or, for a less complex example, the [map dashboard strategy](https://github.com/
5858

5959
This example is meant to be copied into a JavaScript file and loaded as a module resource. It includes both the strategy registration and the metadata needed to show it in the new dashboard dialog.
6060

61-
It is a good starting point, but we recommend using the [ReactiveElement](https://lit.dev/docs/framework/concepts/reactive-element/) class from Lit instead of HTMLElement and use types whether with TypeScript or JSDoc. See the [frontend repo](https://github.com/home-assistant/frontend/tree/dev/src/panels/lovelace/strategies) for full code examples.
61+
It is a good starting point, but we recommend using Lit's [ReactiveElement](https://lit.dev/docs/framework/concepts/reactive-element/) instead of HTMLElement and using types either with TypeScript or JSDoc. See the [frontend repo](https://github.com/home-assistant/frontend/tree/dev/src/panels/lovelace/strategies) for full code examples.
6262

6363
```js
6464
class MyDemoDashboardStrategy extends HTMLElement {

0 commit comments

Comments
 (0)