Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (20 sloc) 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