packages/labs/analyzer/test-files/ts/mixins/src/element-c.ts
raw| 1 | /** |
| 2 | * @license |
| 3 | * Copyright 2024 Google LLC |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | import {LitElement, html} from 'lit'; |
| 8 | import {customElement} from 'lit/decorators.js'; |
| 9 | import {C} from './mixins.js'; |
| 10 | |
| 11 | export const CBase = C(LitElement); |
| 12 | |
| 13 | @customElement('element-c') |
| 14 | export class ElementC extends CBase { |
| 15 | render() { |
| 16 | return html`<h1>${this.c}</h1>`; |
| 17 | } |
| 18 | } |