Using mobiscroll with Cordova
Installing Mobiscroll in your Cordova app takes a couple of minutes. Mobiscroll only requires a CSS and and a JS include to work. Let's see how you can start with our quickstart apps.
Start a trial
First, start a free trial by entering your email address on the Mobiscroll homepage and create your account.
This is how the free trial works:
- You can try Mobiscroll for 15 days.
- The trial needs an active connection to Mobiscroll servers for validation. Don't worry, the licensed product will work offline with downloadable resource files.
Read about the differences between trial and licensed products.
- You can upgrade to the licensed product at any time during or after your trial.
Enter your first name, set a password and you're ready to go!
Pick the Framework you are using and hit the big blue button to download the trial. Select
- JQUERY if you are using jQuery or jQuery Mobile
- REACT for React apps
- ANGULAR JS for Angular 1.x or Ionic - Using with Ionic? Read the Ionic quickstart
- ANGULAR 2 for Angular 2.x or Ionic 2 - Using with Ionic? Read the Ionic quickstart
- ANGULAR 4 for Angular 4.x or Ionic 3 - Using with Ionic? Read the Ionic quickstart
- Finally, If you don't see the framework you are working with, pick USING SOMETHING ELSE. You can use the plain JS API
Assuming you have cordova already installed, let's create a new project. For instruction on setting up cordova please see the official guide.
$ cordova create MobiscrollQuickstart
Add platforms. We'll add browser and iOS so that we can test our app
$ cd MobiscrollQuickstart $ cordova platform add browser $ cordova platform add ios
Grab the downloaded starter project and copy it into the www folder of the cordova app.
Get ready to run the cordova app in your browser.
$ cordova run browser
Or try it in the iOS emulator, assuming you have the development SDK installed.
$ cordova run ios
When installing mobiscroll into your cordova app, just grab the JS and CSS includes either from the trial or the full, licensed product. You'll have to copy the licensed product into your app. Feel free to modify the code to fit your needs. You can directly grab examples form the demos and browse the developer documentation.