File

operations/bulk-operations-list/type-list/bulk-operation-type-list.component.ts

Implements

OnInit

Metadata

Index

Properties
Methods
Outputs

Constructor

constructor(router: Router, bulkOperationsService: BulkOperationsService, bulkOperationModalsService: BulkOperationModalsService)
Parameters :
Name Type Optional
router Router No
bulkOperationsService BulkOperationsService No
bulkOperationModalsService BulkOperationModalsService No

Outputs

onCustomType
Type : EventEmitter<OperationType>

Methods

handleClick
handleClick(item: OperationType)
Parameters :
Name Type Optional
item OperationType No
Returns : void
ngOnInit
ngOnInit()
Returns : void

Properties

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>

results matching ""

    No results matching ""