mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-27 06:49:53 +00:00
20 lines
834 B
Plaintext
20 lines
834 B
Plaintext
.colorbar([style.background-color]='tab.color', *ngIf='tab.color != null')
|
|
.progressbar([style.width]='progress + "%"', *ngIf='progress != null')
|
|
.activity-indicator(*ngIf='tab.activity$|async')
|
|
|
|
.index(*ngIf='!config.store.terminal.hideTabIndex && hostApp.platform === Platform.macOS', cdkDragHandle) {{index + 1}}
|
|
.index(*ngIf='!config.store.terminal.hideTabIndex && hostApp.platform !== Platform.macOS') {{index + 1}}
|
|
|
|
.name(
|
|
[title]='tab.customTitle || tab.title',
|
|
[class.no-hover]='config.store.terminal.hideCloseButton'
|
|
cdkDrag,
|
|
cdkDragRootElement='tab-header',
|
|
[cdkDragData]='tab',
|
|
(cdkDragStarted)='onTabDragStart(tab)',
|
|
(cdkDragEnded)='onTabDragEnd()',
|
|
) {{tab.customTitle || tab.title}}
|
|
button(*ngIf='!config.store.terminal.hideCloseButton',(click)='app.closeTab(tab, true)') ×
|
|
|
|
ng-content
|