Native Tizen implementation of SplashScreen API.
This commit is contained in:
parent
9ebd08f69b
commit
3a1810baa5
@ -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;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user