angular-ui / ui-calendar

A complete AngularJS directive for the Arshaw FullCalendar.
http://angular-ui.github.io/ui-calendar/
MIT License
1.49k stars 728 forks source link

Add images to Calender #474

Open noob93 opened 7 years ago

noob93 commented 7 years ago

I need to add event images along with name and time to the calendar, how can I do it?

retek4 commented 7 years ago

You will need to use the calendar eventRender or eventAfterAllRender callbacks.

this.cs.eventRender =function(event,element){ element.find('.fc-title').prepend('<i class="fa fa-address-book"></i> '); }

noob93 commented 7 years ago

Cool, the article helped. I did something like this: (event.logo ? '<div >' + '<img src="'+htmlEscape(event.logo)+'">'+ '</div>' : '' ) +

estellederrien commented 7 years ago

Hello, please could you provide a more complete example for adding BIG pictures inside events, thank you