register-device/extensible/single/extensible-device-registration-button.component.ts
OnInit
selector | extensible-device-registration-provider |
templateUrl | extensible-device-registration-button.component.html |
Properties |
Methods |
constructor(deviceRegistrationService: ExtensibleDeviceRegistrationService, modalService: BsModalService)
|
|||||||||
Parameters :
|
click | ||||||
click(providerMetaData: ExtensibleDeviceRegistrationProvider)
|
||||||
Parameters :
Returns :
void
|
ngOnInit |
ngOnInit()
|
Returns :
void
|
providersMetaData |
Type : Promise<ExtensibleDeviceRegistrationProvider[]>
|
<div *ngFor="let provider of providersMetaData | async">
<button title="{{ provider.name | translate }}" type="button" (click)="click(provider)">
<i c8yIcon="c8y-device-connect"></i>
{{ provider.name | translate }}
</button>
</div>