File

context-dashboard/dashboard-manager/type-dashboard-target-assets-modal/type-dashboard-target-assets-modal.component.ts

Metadata

Index

Properties
Methods
Inputs
HostListeners

Constructor

constructor(bsModalRef: BsModalRef)
Parameters :
Name Type Optional
bsModalRef BsModalRef No

Inputs

dashboard
Type : ContextDashboardManagedObject

HostListeners

document:keydown
Arguments : '$event'
document:keydown(event: KeyboardEvent)

Methods

close
close()
Returns : void
handleKeyboardEvent
handleKeyboardEvent(event: KeyboardEvent)
Decorators :
@HostListener('document:keydown', ['$event'])
Parameters :
Name Type Optional
event KeyboardEvent No
Returns : void

Properties

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>

results matching ""

    No results matching ""