operations/bulk-operations-list/type-list/bulk-operation-type-list.component.ts
selector | c8y-bulk-operation-type-list |
templateUrl | ./bulk-operation-type-list.component.html |
Properties |
Methods |
Outputs |
constructor(router: Router, bulkOperationsService: BulkOperationsService, bulkOperationModalsService: BulkOperationModalsService)
|
||||||||||||
Parameters :
|
onCustomType |
Type : EventEmitter<OperationType>
|
handleClick | ||||||
handleClick(item: OperationType)
|
||||||
Parameters :
Returns :
void
|
ngOnInit |
ngOnInit()
|
Returns :
void
|
bulkList |
Type : OperationType[]
|
Default value : []
|
<div class="list-group list-group-links">
<button
*ngFor="let item of bulkList"
type="button"
class="list-group-item flex-row"
(click)="handleClick(item)"
>
<div *ngIf="item.c8yIcon; else icon" class="list-item-icon">
<i [c8yIcon]="item.c8yIcon"></i>
</div>
<ng-template #icon>
<div class="list-item-icon">
<i c8yIcon="cogs"></i>
</div>
</ng-template>
<div title="{{ item.name | translate }}" class="list-item-body text-truncate">
{{ item.name | translate }}
</div>
</button>
</div>