What is the sync object passed to Kinvey.init? Documentation incomplete
d
daniel_sedlacek
started a topic
about 6 years ago
[The PayItForward-browser app](https://github.com/KinveyApps/PayItForward-Browser/blob/master/scripts/app.jshttp:// "The PayItForward-browser app") passes some synchronisation object to the init function:
var promise = Kinvey.init({
appKey : ' ',
appSecret : ' ',
sync : {
enable : true,
online : navigator.onLine
}
});
While the [documentation for the init method](http://http://devcenter.kinvey.com/html5/reference/api/module-Kinvey.html "documentation for the init method") says only:
`sync Object Synchronization options.`
I failed to find any further documentation on the sync object. What is it?
Thanks
1 Comment
Damien Bell
said
about 6 years ago
@daniel_sedlacek : You can read more about that in the Backbone.js guide here: http://devcenter.kinvey.com/backbone/guides/caching-offline
Please let me know if you have any other questions.
daniel_sedlacek
var promise = Kinvey.init({
appKey : ' ',
appSecret : ' ',
sync : {
enable : true,
online : navigator.onLine
}
});
While the [documentation for the init method](http://http://devcenter.kinvey.com/html5/reference/api/module-Kinvey.html "documentation for the init method") says only:
`sync Object Synchronization options.`
I failed to find any further documentation on the sync object. What is it?
Thanks