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 free.
- 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
- ANGULAR JS for Angular 1.x
- ANGULAR for Angular 2.x, 4.x or 5.x
- IONIC 1 for Ionic 1
- IONIC 2/3/4 for Ionic 2/3 or Ionic 4
- REACT for React apps
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.