The global mobiscroll object is a the place where you can set all the options that you’ll be needing across you application or page. It should contain the settings that need to be the same across all components.

As an example you can think of the theme, language and maybe default display mode. You can also override localization settings here, like dateFormat and timeFormat. These settings can of course be set on a case-by-case basis.

How a global settings object could look like (you can use the same syntax regardless of the framework):


mobiscroll.settings = { theme: ‘ios’, lang: ‘de’ };

What's next?

Did this answer your question?