Skip to content
Snippets Groups Projects
link.component.html 307 B
Newer Older
François Agneray's avatar
François Agneray committed
<a [href]="getValue()" target="{{(config.blank) ? '_blank' : '_self'}}"
    [ngClass]="{'btn btn-outline-primary btn-sm': config.display=='button'}">
François Agneray's avatar
François Agneray committed
    <span *ngIf="config.display === 'text'">{{ getValue() }}</span>
    <span *ngIf="config.display === 'button'" class="{{config.icon_button}}"></span>