I put a CustomButton on FullCalendar's header but i need to put an font-awesome icon.
customButtons: {
btnBloquearAgenda: {
icon: 'fa fa-lock',
click: function() {
alert('clicked the custom button!');
}
}
},
header: {
left: 'prev,next',
center: 'title',
right: 'btnBloquearAgenda agendaDay,agendaWeek,month'
},
The button is showing "Undefined".