location/add-location.component.ts
| selector | c8y-add-location |
| imports |
C8yTranslatePipe
|
| templateUrl | ./add-location.component.html |
IconDirective
C8yTranslateDirective
C8yTranslatePipe
OnInit
<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>