TiCircularSlider is a native module for Titanium for iOS and Android. It uses EFCircularSlider on iOS and CircularSeekBar on Android. Within this module they share the same API.
Download the latest distribution ZIP-file and consult the Titanium Documentation on how install it, or simply use the gitTio CLI:
$ gittio install de.marcelpociot.circularslider
var TiCircularSlider = require('de.marcelpociot.circularslider');
var sliderView = TiCircularSlider.createView({
height: 250,
width: 250,
lineWidth: 5,
filledColor: 'blue',
unfilledColor: 'grey'
});
sliderView.addEventListener('change',function(e){
Ti.API.info( "Value is: ", e.value );
});
win.add( sliderView );
Author: Marcel Pociot (mpociot)
Author: Manuel Lehner (manumaticx)