@for ( attachment of resolvedAttachments(); track trackByFn($index, attachment); let i = $index ) {
  • @if (attachment.type !== 'IMG' || isError[i]) { @if (attachment.icon) { {{ attachment.icon }} }
    {{ attachment.title || attachment.path }}
    } @if (attachment.type === 'IMG' && !isError[i]) { @if (attachment.isLoading) {
    image Loading image...
    } @else { } }
    @if (!isDisableControls()) {
    @if (attachment.type === 'IMG') { search } @if (attachment.type !== 'IMG') { open_in_new } @if (attachment.type !== 'IMG') { } @if (attachment.id) { }
    }
  • }