import type ListItemGroupHeader from "./ListItemGroupHeader.js"; import WrappingType from "./types/WrappingType.js"; export default function ListItemGroupHeaderTemplate(this: ListItemGroupHeader) { return (
{renderTitle.call(this)}
{this.hasSubItems && }
); } function renderTitle(this: ListItemGroupHeader) { if (this.wrappingType === WrappingType.Normal) { return this.expandableTextTemplate?.call(this, { className: "ui5-ghli-title", text: this._textContent, maxCharacters: this._maxCharacters, part: "title", }); } return ( ); }