Native Tizen implementation of SplashScreen API.

This commit is contained in:
Salvatore Iovene 2013-11-19 12:55:35 +02:00
parent 9ebd08f69b
commit 3a1810baa5

View File

@ -2,11 +2,15 @@ var exec = require('cordova/exec');
module.exports = {
splashscreen: {
win: null,
show = function() {
exec(null, null, "SplashScreen", "show", []);
win= window.open('splashscreen.html');
},
hide = function() {
exec(null, null, "SplashScreen", "hide", []);
win.close();
win = null;
}
}
};