File

location/add-location.component.ts

Implements

OnInit

Metadata

Index

Properties
Methods

Constructor

constructor(inventoryService: InventoryService, contextRouteService: ContextRouteService, defaultConfig$: Observable, router: Router, alertService: AlertService, vcRef: ViewContainerRef)
Parameters :
Name Type Optional
inventoryService InventoryService No
contextRouteService ContextRouteService No
defaultConfig$ Observable<MapDefaultConfig> No
router Router No
alertService AlertService No
vcRef ViewContainerRef No

Methods

ngOnInit
ngOnInit()
Returns : void
onClick
onClick()
Returns : void

Properties

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>

results matching ""

    No results matching ""