location/add-location.component.ts
OnInit
selector | c8y-add-location |
templateUrl | ./add-location.component.html |
Properties |
Methods |
constructor(inventoryService: InventoryService, contextRouteService: ContextRouteService, defaultConfig$: Observable
|
|||||||||||||||||||||
Parameters :
|
ngOnInit |
ngOnInit()
|
Returns :
void
|
onClick |
onClick()
|
Returns :
void
|
templateCopy |
Decorators :
@ViewChild('templateCopy', {read: TemplateRef, static: true})
|
<ng-template #templateCopy>
<button
class="btn btn-link"
[title]="'Add location' | translate"
(click)="onClick()"
>
<i c8yIcon="location-arrow"></i>
<span translate>Add location</span>
</button>
</ng-template>