sub-assets/unassign-assets-modal/unassign-modal.component.ts
selector | c8y-unassign-modal |
templateUrl | ./unassign-modal.component.html |
Properties |
Methods |
Inputs |
constructor(translateService: TranslateService, gainsightService: GainsightService)
|
|||||||||
Parameters :
|
asset |
Type : IManagedObject
|
Async ngAfterViewInit |
ngAfterViewInit()
|
Returns :
any
|
ngOnInit |
ngOnInit()
|
Returns :
void
|
onClose |
onClose()
|
Returns :
void
|
onDismiss |
onDismiss()
|
Returns :
void
|
closeSubject |
Type : Subject<boolean>
|
Default value : new Subject()
|
CURRENT_LOCATION |
Default value : location.href
|
labels |
Type : ModalLabels
|
Default value : { ok: gettext('Unassign'), cancel: gettext('Cancel') }
|
message |
Type : string
|
modalRef |
Type : ConfirmModalComponent
|
Decorators :
@ViewChild('modalRef', {static: false})
|
status |
Type : StatusType
|
Default value : Status.WARNING
|
title |
Default value : gettext('Unassign')
|
<c8y-confirm-modal [title]="title" [status]="status" [labels]="labels" #modalRef>
<span>{{ message | translate }}</span>
</c8y-confirm-modal>