Answer the question
In order to leave comments, you need to log in
How to pass a variable containing text with tags from the controller to the template in angular2?
import { Component, Input, OnChanges, SimpleChanges } from '@angular/core';
import ...
@Component({
selector: 'si-working-time-journal-calendar',
templateUrl: './calendar.component.html',
styleUrls: ['./calendar.component.css'],
})
export class WorkingTimeJournalCalendarComponent implements OnChanges {
@Input() dateRange;
@Input() employees;
@Input() config;
periodEmployeeAveraged = '<b>text</b>';
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question