Skip to content
This repository has been archived by the owner on Jun 19, 2018. It is now read-only.

Added displayEventTimes properties whether need to show the times are not. Modified in the tooltip and also in slide box. #361

Closed
wants to merge 4 commits into from

Conversation

jeevasusej
Copy link

No description provided.

@bergera
Copy link

bergera commented Jun 22, 2016

👍 My use case doesn't deal with times at all, very useful.

@mattlewis92
Copy link
Owner

Sorry about the late reply with this, I've opted instead to abstract all the logic into the calendarEventTitle service where you can override it's methods and customise how event titles get displayed which should be much more flexible and fit more use cases.

e.g.

calendarEventTitle.monthViewTooltip = function(event) {
  return event.title; // no time will be displayed on the month view tooltip now
}

Hope this helps! 😄

@Jeevanandanj
Copy link

Thank you :-).. But I didn't try.

Can we use this to hide time in slide box?

@mattlewis92
Copy link
Owner

Yup you just need to override this method like so (this is only in master, I've not yet cut a new version yet as there's still a few issues to sort out first)

calendarEventTitle.monthViewTooltip = function(event) {
  return event.title; // no time will be displayed on the month view now
}

@jeevasusej
Copy link
Author

Superb plugin. Updated plugin works greatly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants