Update custom-view.md (#2535)

This commit is contained in:
Orce MARINKOVSKI 2025-01-16 22:45:32 +01:00 committed by GitHub
parent 2a8a0fe47c
commit fbfef1f908
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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) (note: this example does not have all of the properties but the necessities to show the example)
```js ```js
import { LitElement, html } from "https://unpkg.com/@polymer/lit-element@^0.6.1/lit-element.js?module";
class MyNewView extends LitElement { class MyNewView extends LitElement {
setConfig(_config) {} setConfig(_config) {}