We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I think it's more realistic instead of just one event a day.
in template
'ng-class="{default: isDefaultDate(date), event: date.event && date.event.length > 0, disabled: date.disabled || !date}"' + bindEvent = function (date) { if (!date || !$scope.events) { return; } date.event=[]; $scope.events.forEach(function(event) { event.date = new Date(event.date); if (date.year === event.date.getFullYear() && date.month === event.date.getMonth() && date.day === event.date.getDate()) { // date.event = event; date.event.push(event); } }); };
The text was updated successfully, but these errors were encountered:
@tuananh This directive was designed for simple usage with only one event per specific date. We will appreciate a good pull request though.
Sorry, something went wrong.
Hi,
Remeber change this portion the code in the directive
this
< div class="calendar-title">{{date.event.title}}< /div >
for this one
< div ng-repeat="eventos in date.event track by $index">{{eventos.title}}< /div >
you need put ng-repeat thank's a lot
Was this idea ever submitter as a pull request? I tried adding multiple events per day and it doesn't seem to work.
No branches or pull requests
I think it's more realistic instead of just one event a day.
in template
The text was updated successfully, but these errors were encountered: