-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathcombo-header.ts
More file actions
32 lines (27 loc) · 965 Bytes
/
combo-header.ts
File metadata and controls
32 lines (27 loc) · 965 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import { html, LitElement } from 'lit';
import { addThemingController } from '../../theming/theming-controller.js';
import { registerComponent } from '../common/definitions/register.js';
import { all } from '../dropdown/themes/header.js';
import { styles as shared } from '../dropdown/themes/shared/header/dropdown-header.common.css.js';
import { styles } from './themes/combo-header.base.css.js';
/* blazorSuppress */
export default class IgcComboHeaderComponent extends LitElement {
public static readonly tagName: string = 'igc-combo-header';
public static override styles = [styles, shared];
/* blazorSuppress */
public static register(): void {
registerComponent(IgcComboHeaderComponent);
}
constructor() {
super();
addThemingController(this, all);
}
protected override render() {
return html`<slot></slot>`;
}
}
declare global {
interface HTMLElementTagNameMap {
'igc-combo-header': IgcComboHeaderComponent;
}
}