( /* don't trigger within the menu */ !DEBUG.allowContextMenuOnContextMenu && ( e.preventDefault(), e.stopPropagation() ) )} ${DEBUG.debugContextMenu ? (() => { console.log('Context menu rendered', {_self, _host}); return ''; })() : '' } > ${_host.menuItems.map(({title,func,hr}, index) => F`${{key:`menuItem${index}`}} ${hr ? F`${{key:`hr${index}`}}
` : ''}
  • ${title}
  • `)}