Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 866 Bytes

README.markdown

File metadata and controls

23 lines (20 loc) · 866 Bytes

What is this?

This is a mini-browser module to use in Titanium Appcelerator

How to use it?

You have just to instance the MiniBrowser to a variable, and create it. It will return a Window, and you can do what you want. See these examples:

Modal Window

var modalBrowser = new MiniBrowser({
	url:"http://www.google.com/",
    barColor:"#000",
    modal:true
});

var winModalBrowser = modalBrowser.create();

winModalBrowser.open();

TabGroup

var tabGroupedBrowser = new MiniBrowser({
	url:"http://www.google.com/",
    barColor:"#000"
});

Ti.UI.currentTab.open(tabGroupedBrowser.create());

Images