appcelerator - Alloy - Controller.addTopLevelView? -


recently came across someone's code. alloy markup empty <alloy />. in controller, adds view using $.addtoplevelview().

how come can't find documentation regarding function?

good point. might because it's considered private, although start _ indicate since js doesn't support private methods.

it against idea of alloy not use xml file markup instead use "classic" titanium code in controller method.

however, might idea pr against following file request documented:

https://github.com/appcelerator/alloy/edit/master/alloy/lib/alloy/controllers/basecontroller.js


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -