Headless CMS and Content Managment Hub
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

12 lines
457 B

<ng-container *ngIf="isPlain; else html">
<div class="value-container" [title]="title" titlePosition="top-left">
<div #valueElement [class.truncate]="!wrapping">{{value}}</div>
</div>
<button class="btn btn-icon" *ngIf="isString && fields" (click)="toggle()" sqxStopClick>
<i class="icon-wrap_text"></i>
</button>
</ng-container>
<ng-template #html>
<div class="html-value" [innerHTML]="value.html"></div>
</ng-template>