/TiPicker

Titanium CommonJS Module to make Piker UI Componant in Android, iPhone (slide up/down) and iPad (popover)

Primary LanguageJavaScriptOtherNOASSERTION

TiPicker Hazem Khaled

Titanium CommonJS Module to make Piker UI Componant in Android, iPhone (slide up/down) and iPad (popover)

Example [1]:-

Add the module to your project

var TiPicker = require('TiPicker');

Create new componant

var picker1 = new TiPicker();

Add Picker rows Ti.UI.createPickerRow({ title : 'String', changedName : 'String' });

Add to you window

win.add(picker1.getUI());

Example [2] Properties:-

var picker2 = new TiPicker({
	width : 100,
	height : 40,
	top : 100,
	bottom : 100,
	left : 100,
	right : 100,
	selectionIndicator : true	// iOS only
});
win.add(picker1.getUI());

Thanks @rborn (Dan Tamas) http://cssgallery.info/making-a-combo-box-in-titanium-appcelerator-code-and-video/