Documentation
findLoaderData
usage
.kaiten('findLoaderData', url)
parameters
url : String, the url to process
returns
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.
examples
(...)
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);
}
}