Before reading this article, please go through the article links, mentioned below.
- Quick Start On Apache Cordova Using Visual Studio 2015
- Getting Started With Ionic Blank App Using Visual Studio 2015
- Getting Started With Ionic Side Menu App Using Visual Studio 2015
- Getting Started With Ionic Tabs App Using Visual Studio 2015
- Getting Started With Onsen UI Apps In Visual Studio 2015
- Working With Onsen UI Navigation Apps In Visual Studio 2015
- Working With Onsen UI Splitter Apps In Visual Studio 2015
- Create "Hello World" App In Onsen UI Using Visual Studio 2015
- Using List Control In Onsen UI Using Visual Studio 2015
- Developing Login Page In Onsen UI Using Visual Studio 2015
- Understanding Dialog Box In Onsen UI Using Visual Studio 2015
Apache Cordova
Apache Cordova is an open-source project that aims at allowing mobile developers to build applications for all the major mobile platforms, using HTML, CSS, and JavaScript technologies.
Monaca
Monaca is a software tool and service solution for building and deploying HTML5 mobile hybrid apps. It is built on top of an open-source Apache Cordova. Monaca provides a full suite of resources including Cloud IDE, local development tools, debugger, and back-end support.
Monaca's cloud-based IDE builds HTML5 hybrid mobile apps for iOS, Android, Windows, and Chrome apps, using HTML, CSS, and JavaScript.
Monaca CLI provides Onsen UI templates, device debugger, remote building, and any service that you might need directly from your terminal.
Onsen UI Framework
Onsen UI is a front-end UI framework to develop cross-platform mobile apps, using Apache Cordova and PhoneGap. It’s fully independent of frameworks and you can easily plug these components into any project, regardless of JavaScript framework.
Onsen UI templates can be used with Visual Studio 2015. All the templates are compatible with Visual Studio Tools for Apache Cordova. It works pretty well with UWP, iOS, and Android apps.
Building Range Slider with Onsen UI Framework
The <ons-range> element is used to display a Range Slider. For setting the maximum and minimum value, we use "min" and "max" attributes. The "step" attribute is used to change the value in every step.
It can be disabled using the "disabled" attribute.
Let’s see how to start building the app using Range Slider in Onsen UI Framework and Visual Studio 2015.
Prerequisites
- Visual Studio 2015.
- Visual Studio Tools for Apache Cordova.
Follow the steps, mentioned below, to build an Onsen UI with Range Slider, using Onsen UI Framework.
Step 1. Create an Onsen UI App
Let’s be ready to create a new project. Open Visual Studio 2015 and click the File -> New -> Project option for the New Apache Cordova app, using Onsen UI Framework.

Step 2. Give the Project a name
A "New Project" window will open. Select Installed -> Template -> JavaScript -> Manoca ->Onsen UI Blank app.
Type the Project name Onsen UI RangeSlider and click the OK button.

Step 3. The main screen is shown below.

Step 4. Afterwards, we create the project. Our solution should resemble what is shown below.

This table gives the basic idea of how we might use each one.
| File | Why is it in your project? |
| Merge Folder | It contains the package for Android, iOS, and Windows apps. |
| www | This file contains the images, library, and JS files. |
| config.xml | Contains the settings of our app. |
| taco.json | Defines which version of Cordova CLI Visual Studio is used to build the project. |








Anu VPosted Dec 21, 2016, 5:29 AM
Nice Article... Informative.. like it.
RajaPosted Dec 20, 2016, 11:37 PM
Great Article.Easily understood...Thank you.