context-dashboard/dashboard-manager/type-dashboard-target-assets-modal/type-dashboard-target-assets-modal.component.ts
selector | c8y-type-dashboard-target-assets-modal |
templateUrl | ./type-dashboard-target-assets-modal.component.html |
Properties |
Methods |
Inputs |
HostListeners |
constructor(bsModalRef: BsModalRef)
|
||||||
Parameters :
|
dashboard |
Type : ContextDashboardManagedObject
|
document:keydown |
Arguments : '$event'
|
document:keydown(event: KeyboardEvent)
|
close |
close()
|
Returns :
void
|
handleKeyboardEvent | ||||||
handleKeyboardEvent(event: KeyboardEvent)
|
||||||
Decorators :
@HostListener('document:keydown', ['$event'])
|
||||||
Parameters :
Returns :
void
|
labels |
Type : ModalLabels
|
Default value : { cancel: gettext('Cancel') }
|
<c8y-modal
title="{{ 'Select dashboard instance to edit' | translate }}"
(onClose)="close()"
(onDismiss)="close()"
[labels]="labels"
[disabled]="true"
[headerClasses]="'has-data-grid'"
>
<c8y-type-dashboard-target-assets-grid
[dashboard]="dashboard"
(onNavigateToAsset)="close()"
></c8y-type-dashboard-target-assets-grid>
</c8y-modal>