I am using fullcalendar as angular component and in that I have added a checkbox in listview. But I want to render that checkbox as a mat-checkbox. So is is possible to render this from function? This is how I am using, but it is not rendering checkbox.
eventRender(event) {
const eventView = event.view.type;
const eventID = event.event.id;
console.log(event);
if (eventView === 'listWeek') {
const newCell = event.el.insertCell(3);
newCell.innerHTML = `<mat-checkbox appearance="outline">Completed</mat-checkbox>`;
}
}
Aucun commentaire:
Enregistrer un commentaire