Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
render() {
const { expanded, triggerContent, menuLabel, _handleClick: handleClick, _handleKeydownTrigger: handleKeydownTrigger } = this;
return html`
<a aria-expanded="${String(Boolean(expanded))}" aria-haspopup="menu" class="${prefix}--header__menu-item ${prefix}--header__menu-title" tabindex="0" role="menuitem">
${triggerContent}${ChevronDownGlyph({ class: `${prefix}--header__menu-arrow` })}
</a>
<ul aria-label="${ifDefined(menuLabel)}" class="${prefix}--header__menu" role="menu">
</ul>
`;
}