context-dashboard/add-dashboard.component.ts
selector | c8y-add-dashboard |
templateUrl | ./add-dashboard.component.html |
Properties |
Methods |
constructor(viewContainerRef: ViewContainerRef, addDashboardFactory: AddDashboardFactory)
|
|||||||||
Parameters :
|
addDashboard |
addDashboard()
|
Returns :
void
|
ngOnInit |
ngOnInit()
|
Returns :
void
|
template |
Decorators :
@ViewChild('template', {static: true})
|
<ng-template #template>
<li class="d-flex-xs a-i-center">
<button
class="btn btn-clean m-t-lg-4 p-l-xs-16 p-r-xs-16"
title="{{ 'Add dashboard' | translate }}"
(click)="addDashboard()"
tooltip="{{ 'Add dashboard' | translate }}"
placement="right"
container="body"
>
<i c8yIcon="plus-circle" class="icon-20"></i>
</button>
</li>
</ng-template>