mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-14 21:06:28 +00:00
Update custom-view.md (#2535)
This commit is contained in:
parent
2a8a0fe47c
commit
fbfef1f908
@ -28,6 +28,8 @@ Cards and Badges will be created and maintained by the core code and given to th
|
||||
(note: this example does not have all of the properties but the necessities to show the example)
|
||||
|
||||
```js
|
||||
import { LitElement, html } from "https://unpkg.com/@polymer/lit-element@^0.6.1/lit-element.js?module";
|
||||
|
||||
class MyNewView extends LitElement {
|
||||
setConfig(_config) {}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user