File

ecosystem/applications/duplicate-application/duplicate-application-list/duplicate-application-list.component.ts

Metadata

Index

Properties
Methods
Inputs
Outputs

Constructor

constructor(ecosystemService: EcosystemService, wizardComponent: WizardComponent)
Parameters :
Name Type Optional
ecosystemService EcosystemService No
wizardComponent WizardComponent No

Inputs

existingApps
Type : IApplication[]
stepper
Type : C8yStepper

Outputs

onSelectedApp
Type : EventEmitter

Methods

back
back()
Returns : void
cancel
cancel()
Returns : void
select
select(selectedApp: IApplication)
Parameters :
Name Type Optional
selectedApp IApplication No
Returns : void

Properties

appState
Type : ApplicationState
Public ecosystemService
Type : EcosystemService
<div class="c8y-wizard-list-nav">
  <button
    (click)="select(app)"
    *ngFor="let app of existingApps"
    class="list-group-item text-truncate p-t-8 p-b-8"
    type="button"
  >
    <c8y-app-icon
      [app]="app"
      [contextPath]="app.contextPath"
      [name]="app.name"
      class="list-group-icon"
    ></c8y-app-icon>
    <span [innerText]="app | humanizeAppName | async" class="pointer"></span>
    <span [ngClass]="ecosystemService.getAppState(app).class" class="label m-l-16">{{
      ecosystemService.getAppState(app).label | translate
    }}</span>
  </button>
</div>
<c8y-wizard-footer>
  <button
    (click)="back()"
    class="btn btn-default"
    title="{{ 'Back' | translate }}"
    translate
    type="button"
  >
    Back
  </button>
  <button (click)="cancel()" class="btn btn-default" title="{{ 'Cancel' | translate }}" translate>
    Cancel
  </button>
</c8y-wizard-footer>

results matching ""

    No results matching ""