Closed annamf closed 8 years ago
Hi @annamf,
It's not officially supported, but as Alloy will pass children views as $.args.children
and the widget expects this argument you could try:
var ptr = Alloy.createWidget('nl.fokkezb.pullToRefresh', {
children: [table]
});
ptr.on('release', myRefresher);
I have to create the widget programatically but I can't add the table view like a child of the widget because it isn't a view. Is this possible?
My code is: