sub-assets/assign-devices/assign-devices.component.ts
selector | c8y-assign-devices |
templateUrl | ./assign-devices.component.html |
Properties |
Methods |
Inputs |
Outputs |
HostListeners |
constructor(alert: AlertService, subAssetsService: SubAssetsService, inventoryService: InventoryService, gainsightService: GainsightService)
|
|||||||||||||||
Parameters :
|
currentGroupId |
Type : string
|
refresh |
Type : any
|
Default value : new EventEmitter<any>()
|
onCancel |
Type : EventEmitter
|
onShowChildDevices |
Type : EventEmitter
|
selectedDevice |
Type : EventEmitter
|
document:keydown.enter |
Arguments : '$event'
|
document:keydown.enter(event: KeyboardEvent)
|
document:keydown.escape |
Arguments : '$event'
|
document:keydown.escape(event: KeyboardEvent)
|
Async assignDevices |
assignDevices()
|
Returns :
any
|
Async ngOnInit |
ngOnInit()
|
Returns :
any
|
onEnterKeyDown | ||||||
onEnterKeyDown(event: KeyboardEvent)
|
||||||
Decorators :
@HostListener('document:keydown.enter', ['$event'])
|
||||||
Parameters :
Returns :
void
|
onEscapeKeyDown | ||||||
onEscapeKeyDown(event: KeyboardEvent)
|
||||||
Decorators :
@HostListener('document:keydown.escape', ['$event'])
|
||||||
Parameters :
Returns :
void
|
onSelected | ||||||
onSelected(selectedDevicesIDs: string[])
|
||||||
Parameters :
Returns :
void
|
selectChildren | ||||||
selectChildren(asset: IManagedObject)
|
||||||
Parameters :
Returns :
void
|
setActionControls | ||||||
setActionControls(showChildren: boolean)
|
||||||
Parameters :
Returns :
void
|
setHeaderActionControls |
setHeaderActionControls()
|
Returns :
void
|
setNotIncludedInGroupQuery |
setNotIncludedInGroupQuery()
|
Returns :
void
|
actionControls |
Type : ActionControl[]
|
Default value : []
|
baseQuery |
Type : any
|
canAssignDevice |
Type : boolean
|
Default value : false
|
deviceQueryStringOutput |
Type : string
|
headerActionControls |
Type : HeaderActionControl[]
|
Default value : []
|
Readonly isSelectable |
Default value : true
|
pagination |
Type : Pagination
|
Default value : { pageSize: 20, currentPage: 1 }
|
pendingStatus |
Type : boolean
|
Default value : false
|
selected |
Type : string[]
|
Default value : []
|
showChildren |
Type : boolean
|
Default value : false
|
showDevicesToggle |
Type : TemplateRef<any>
|
Decorators :
@ViewChild('showDevicesToggle', {read: TemplateRef})
|