Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | 68x 68x 1x 1x 1x 1x 1x 1x 1x 1x 2x | import { Component, HostBinding, Input } from '@angular/core';
import { RouterLink } from '@angular/router';
import { Ext } from '../../../model/ext';
import { Action, Icon } from '../../../model/tag';
import { AdminService } from '../../../service/admin.service';
import { QueryStore } from '../../../store/query';
import { Store } from '../../../store/store';
@Component({
selector: 'app-subfolder',
templateUrl: './subfolder.component.html',
styleUrls: ['./subfolder.component.scss'],
host: { 'class': 'subfolder' },
imports: [RouterLink]
})
export class SubfolderComponent {
@HostBinding('attr.tabindex') tabIndex = 0;
@Input()
ext?: Ext;
@Input()
name?: string;
@Input()
dragging = false;
submitted = false;
icons: Icon[] = [];
actions: Action[] = [];
constructor(
public admin: AdminService,
public store: Store,
private query: QueryStore,
) { }
get thumbnail() {
// TODO: Thumbnail in config
return '';
}
}
|