package.dist.generated.templates.LinkTemplate.lit.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of webcomponents Show documentation
Show all versions of webcomponents Show documentation
UI5 Web Components: webcomponents.main
The newest version!
/* eslint no-unused-vars: 0 */
import { html, ifDefined, scopeTag } from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
function block0(context, tags, suffix) { return html `${this.icon ? block1.call(this, context, tags, suffix) : undefined} ${this.hasLinkType ? block2.call(this, context, tags, suffix) : undefined}${this.endIcon ? block3.call(this, context, tags, suffix) : undefined}`; }
function block1(context, tags, suffix) { return suffix ? html `<${scopeTag("ui5-icon", tags, suffix)} class="ui5-link-icon" name="${ifDefined(this.icon)}" mode="Decorative" part="icon">${scopeTag("ui5-icon", tags, suffix)}>` : html ` `; }
function block2(context, tags, suffix) { return html `${ifDefined(this.linkTypeText)}`; }
function block3(context, tags, suffix) { return suffix ? html `<${scopeTag("ui5-icon", tags, suffix)} class="ui5-link-end-icon" name="${ifDefined(this.endIcon)}" mode="Decorative" part="endIcon">${scopeTag("ui5-icon", tags, suffix)}>` : html ` `; }
export default block0;
//# sourceMappingURL=LinkTemplate.lit.js.map