this.handleClick(e)}
@keydown=${clickOnEnterAndConsumeOnSpace}
@keyup=${clickOnSpace}
>
${titleHtml}${detail ? html`: ${detail}
` : nothing}
${!this.standalone
? html`
`
: nothing}
${this.standalone
? html`
this.dispatchMark(e, Boolean(this.notification.is_unread)) && this.dispatchClose()}
>
`
: html`
this.dispatchMark(e, Boolean(this.notification.is_unread)) && this.dispatchClose()}
title=${this.notification.is_unread ? msg("Mark as read") : msg("Mark as unread")}
>
`}
`;
}
}