Open baptistejamin opened 10 years ago
did you see the Debug In Browser page in the wiki ? https://github.com/cobaltians/cobalt/wiki/Debuging%20in%20the%20browser
It's explained how to see logs in the browser and call cobalt events.
For example, to fire a pullToRefresh event, just write this in the JS console :
cobalt.userEvents.pullToRefresh()
And if you defined a pullToRefresh handler it should work. I agree we could improve this more. Never tried Ripple yet.
If you have ideas on how to do this, share with us :)
Yeah, i'd see that, the Ripple plugin could just be an enhencement for lazy developpers.
to complete my answer, there is a "debug in browser" page in the wiki : https://github.com/cobaltians/cobalt/wiki/Debugging-in-the-browser
It's cool be cool to develop faster to simulate cobalt event like does Ripple.
It could simulate console.log to cobalt.log, it could create pulltorefresh events, ...