{#each attributes as attr} {@const attrType = attr.type._class === core.class.RefTo ? getRefClassTo(attr.type) : undefined}
{ if (attr.isCustom) { ev.preventDefault() showMenu(ev, attr) } }} >
{#if attr.isCustom}
showMenu(ev, attr)}>
{/if}
{#if attrType !== undefined} :
{/if}
{/each}