Answer the question
In order to leave comments, you need to log in
How to populate a calendar with events in Angular 2?
There is a calendar to display scheduled events for the current month:
<div class="calendar">
<div class="day">1</div>
<div class="day">2</div>
<div class="day">3</div>
...
</div>
events = [
{
title: 'Event 1',
date: '06/02/2017'
},
{
title: 'Event 2',
date: '15/02/2017'
},
{
title: 'Event 3',
date: '15/02/2017'
},
{
title: 'Event 4',
date: '20/02/2017'
}
];
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