@scania/tegel
Version:
Tegel Design System
26 lines (25 loc) • 943 B
JavaScript
import { h, Host } from "@stencil/core";
import generateUniqueId from "../../../utils/generateUniqueId";
/**
* @slot <default> - <b>Unnamed slot.</b> For the title text.
*/
export class TdsHeaderLauncherListTitle {
constructor() {
this.uuid = generateUniqueId();
}
render() {
return (h(Host, { key: 'c280ad56213dd6f54b3c4eac8695e2ecef6819f8' }, h("h3", { key: 'a1e4c17cb97f27bb882de8c8092593e654168e02', class: "tds-header-launcher-list-title", id: `tds-header-launcher-${this.uuid}` }, h("slot", { key: 'eaf2effb5d779e1faaa030a2e2df2b6afde51d66' }))));
}
static get is() { return "tds-header-launcher-list-title"; }
static get originalStyleUrls() {
return {
"$": ["header-launcher-list-title.scss"]
};
}
static get styleUrls() {
return {
"$": ["header-launcher-list-title.css"]
};
}
static get elementRef() { return "host"; }
}