My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 2360: allDayHtml-propery is undocumented
1 person starred this issue and may be notified of changes. Back to list
Status:  WontFix
Owner:  ----
Closed:  Nov 2014


Sign in to add a comment
 
Reported by tatu.ter...@gmail.com, Nov 18, 2014
Is the allDayHtml-property intentionally undocumented? If not, it probably should be added to the docs.

https://github.com/arshaw/fullcalendar/blob/master/src/agenda/AgendaView.js#L197

Nov 25, 2014
Project Member #1 adamrs...@gmail.com
Yeah, I don't want people to get into the habit of providing HTML strings for settings... will lead to a lot of broken HTML and broken rendering. I prefer people to specify text strings (which will eventually get escaped) or have the power to manipulate the DOM rendering of a given element, similar to what `eventRender` does.

Instead of using the "secret" allDayHtml setting, would be better to do DOM manipulation in the `viewRender` hook.
http://fullcalendar.io/docs/display/viewRender/

The allDayHtml setting I made was really just a hack to let certain language files cause the all-day text to break to a second line. Looks a lot better in certain scenarios.
Status: WontFix
Sign in to add a comment

Powered by Google Project Hosting