jQuery Schedule v2.0.0
Breaking changes
- Remove confirmation feature on period remove (use
onRemovePeriodcallback then)- Remove
confirmoption - Remove confirm messages (
removePeriod,dialogYes&dialogNo) - Remove classes
- Remove
- Remove
debugoption- Remove debug messages (
invalidPosition&invalidPeriod)
- Remove debug messages (
- Refactoring a lot of CSS classes
New features
- Change period creation method. Use
mouseup&mousedownevents instead ofclickevent - Add helper on period creation
- Add
periodDurationfeature (Change the period interval to 15/30 or 60) - Add
periodOptionsfeature (Add a new popup when clicking on a period) - Add new periods features
- Custom title
- Custom color for background, borders and text
- Custom color selector (
periodColorsoption) - Defaults style customisation (
periodTitle,periodBackgroundColor,periodBorderColor&periodTextColor)
- Update period data format to include new customisation features
- Add new translation (
periodRemoveButton&periodTitlePlaceholder) - Add new callbacks
onInitonAddPeriodonRemovePeriodonClickPeriod
- Add compact mode support for Ante meridiem and Post meridiem
8am - 2pm -> 8 - 2p
Other changes
- Period IDs standardization
- Remove useless global variables
resetandexportmethods optimization- Remove bower support
- Update jQuery version
- Add Bootstrap 4 on the demo page
- A lot of code clean !