What’s New
I am super excited to finally share what we’ve been working on for a while. Happy to unveil the brand new Scheduler component and much more with the Mobiscroll 5 beta 1 .
We are shipping Mobiscroll 5 in steps and the first beta features Event calendar, Popup, the brand new Scheduler, most of the Form elements - Button, Input, Dropdown, Textarea, Checkbox, Switch, Radio, Segmented & Notifications and Date & time picker with limited functionality.
Scheduler
It features a full-blown schedule view with daily and weekly grids, a scrollable 24 hour view optimized for mobile & desktop.
The scheduler can be used and combined with the calendar and agenda from the event calendar.
Responsive daily and weekly scheduler
Event calendar
We have rebuilt the event calendar from the ground up, with more customization options, more advanced recurring events and an updated look & feel.
Event Calendar with quick navigation control
Dynamic global and component options
Thanks to the rewrite the component options became truly dynamic. Options like the locale, theme, theme variant and more can be updated on the fly. While keeping the component state the DOM will be updated only where necessary.
Updated and smarter themes
Besides the stand-alone component updates, options can be changed globally. You can now update options like theme for all initialized components rather than performing it one by one.
Dynamic light & dark mode
Angular and React components
Mobiscroll 5 ships real Angular and React components, for a perfect integration. We moved away from the previously used wrapper approach.
This means DOM manipulation is delegated to the framework: Angular components are using Angular’s renderer module, while React components use React’s virtual DOM.
jQuery and Javascript components
While the usage of the jQuery and plain javascript components remains the same as in previous versions (except some API changes listed below), the approach behind is completely different.
The components are sharing a common core with the React components, and a bundled virtual DOM library manages the rendering. This way, just like in React and Angular, the components are fully dynamic, updating options on the fly will not re-render the whole component markup completely as in previous versions, it will only update the DOM where it needs to be changed.
MOBISCROLL 5.0-beta1
Datetime
REMOVED
- We removed the
tapmethod.
CHANGED
- The react component will render a mobiscroll input by default, instead of a standard html input. Use the
inputOptionsoption to pass configuration to the rendered mobiscroll input, or have the global settings applied. - We renamed the
animateoption toanimationto specify the show / hide animation of the picker. - We renamed the
heightoption toitemHeightfor setting the height of the wheel items. - We renamed the
widthoption towheelWidthfor setting the exact width of the wheels. - We renamed the
maxWidthoption tomaxWheelWidthfor setting the maximum width of the wheels. - We renamed the
minWidthoption tominWheelWidthfor setting the minimum width of the wheels. - We renamed the
showOnTapoption toshowOnClickfor the sake of simplicity and to make it more obvious. - We’ve broken up the
stepsoption intostepHour,stepMinuteandstepSecond. - We updated the format of the
dateFormatandtimeFormatoptions to avoid some common confusions we met. See the API docs for the new formatting tokens. - We renamed the
onSetevent toonChangeand theonShowevent toonOpenfor more clarity. This was part of the lifecycle event cleanup we performed. - We renamed the
showmethod toopenand thehidemethod toclose.
Eventcalendar
NEW
- We added the
selectedDateoption for setting, changing the active date on the calendar. - We added the
defaultSelectedDateoption for specifying the initially selected date. - We added the
showControlsoption to show or hide the calendar header controls like previous, next, today buttons along with the view range. - We added the
renderEventandeventTemplateoptions for custom event rendering that can be used in the agenda or popover event listing. - We added the
renderAgendaandagendaTemplateoptions for a fully custom, external agenda rendering.
REMOVED
- We removed the following options:
anchor,animate,buttons,closeOnOverlayTap,display,focusOnClose,focusTrap,formatDuration,headerText,showOnFocus,showOnTap,yearChange. - We removed the following events:
onBeforeClose,onBeforeShow,onClose,onPosition,onShow. - We removed the following methods:
hide,isVisible,position,redraw,refresh,show,tap.
CHANGED
- We improved our recurring event support. More complex recurrence rules can be passed through the
recurringproperty of an event as an object or as a string in RRULE format. Currently daily, weekly, monthly and yearly repeats are supported. - We slightly changed the structure of event objects. Instead of
text,titleshould be used, and instead of thedproperty use therecurringproperty to create recurring events. - We slightly changed the structure of the
marked,labelandcolorobjects. To specify the date, use thedateproperty, or thestartandendproperties for multiple days, and use therecurringproperty to specify multiple occurrences. - We changed the format of the
dateFormatandtimeFormatoptions to avoid some common confusions we met. See the API docs for the new formatting tokens. - As part of the the lifecycle event cleanup, we renamed the
onEventSelectevent toonEventClick, theonDayChangeevent toonCellClickand theonSetDateevent toonSelectedDateChange. - We renamed the
calendarHeightoption toheightand changed its scope to the full calendar with header and everything. - We renamed the
calendarWidthoption towidth. - We moved the
calendarScrolloption into theviewoption underview.calendar.scroll. - We moved the
eventBubbleoption into theviewoption underview.calendar.popover. - We moved the
showEventCountoption into theviewoption underview.calendar.count. - We moved the
showOuterDaysoption into theviewoption underview.calendar.outerDays. - We moved the
weeksoption into theviewoption underview.calendar.size. - We moved the
weekCounteroption into theviewoption underview.calendar.weekNumbers. - We renamed the
eventListproperty of theviewoption toagenda.
Forms
NEW
- We added the
labeloption to specify the label of the input. - We added the
startIconSvgandendIconSvgoptions to pass svg markup as string for the input icons. - We added the
positionoption to the Checkbox, Radio and Switch components to specify where it should be positioned. Can be'start'or'end'. This ultimately controls how the actual control is laid out, on the right or the left.
CHANGED
- We removed the
iconAlignoption, and added thestartIconandendIconoptions instead to specify the input icons. - We added the
variantoption to the button, which can be'standard','flat', or'outline'.
General
NEW
- System variant (light or dark) detection is now dynamic: if the system theme changes, the components are updated accordingly without the need to reload the page.
REMOVED
- We dropped support for AngularJS (1.x) and Angular 2. In case of Angular the minimum required version is 4.
CHANGED
- We removed the global
mobiscroll.settingsobject and added thesetOptionsfunction to set the global options for the components. The newsetOptionsfunction is dynamic, meaning that changing the global options runtime will update all initialized components. - We renamed the
optionmethod tosetOptionsfor all components. Use it to dynamically update the options of a component. - We renamed the
langoption tolocalefor localizing the components. Instead of a string now it accepts an object containing the localization settings. Localization objects can be imported likeimport { localeDe, localeHu } from '/path/to/mobiscroll';in case of ES6, or accessed asmobiscroll.localeDein case of ES5 usage. - We moved the
getJsonfunction tomobiscroll.util.http.getJson. In ES6 it can also be imported directly:import { getJson } from '/path/to/mobiscroll';.
Popup
NEW
- We added the
widthoption to specify the width of the popup. Accepts any valid css value. - We added the
heightoption to specify the height of the popup. Accepts any valid css value. - We added the
maxWidthoption to specify the max width of the popup. Accepts any valid css value. - We added the
maxHeightoption to specify the max height of the popup. Accepts any valid css value.
REMOVED
- We removed the
tapmethod.
CHANGED
- We renamed the
animateoption toanimationto specify the show / hide animation of the popup. - For the sake of clarity we renamed the
showOnTapoption toshowOnClickand theonShowevent toonOpen. - We renamed the
showmethod toopenand thehidemethod toclose.
Scheduler
NEW
- We added the brand new scheduler to the Event Calendar product line for displaying the events on a 24-hour grid. Can be enabled using the
viewoption.
For the full changelog please visit our release history. The beta is available to customers with and active Event Calendar or Framework and Complete license. Get in touch if you are interested.
PS. You will find an upgrade guide for moving from Mobiscroll 4 to Mobiscroll 5.




