Documentation
findLoaderData
usage
.kaiten('findLoaderData', url)
paramètres
url : String, the url to process
retourne
An object containing the data that can be passed to the load() function
Given a URL, this function identifies the connector that can handle it and retrieves the data that can be passed to the loader function.
exemples
(...)
startup : function(dataFromURL){
// display home page
this.kaiten('load', { kConnector:'nectil.home' });
// handle data passed through the URL
if (dataFromURL && dataFromURL.loadURL)
{
var initData = this.kaiten('findLoaderData', dataFromURL.loadURL);
this.kaiten('load', initData);
}
}