Closed minhuang0 closed 9 years ago
I want to create nl.fokkezb.pullToRefresh in controller(js file),can you have a example to tell me how to create this widgets in js file. thanks !
nl.fokkezb.pullToRefresh
I don't get your question.
I had try this widget in view(xml file) good .
Ah, OK:
Alloy.createWidget('nl.fokkezb.pullToRefresh', { children: [$.yourList] }).on('release', yourCallback);
I want to create
nl.fokkezb.pullToRefresh
in controller(js file),can you have a example to tell me how to create this widgets in js file. thanks !