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 = {
|
module.exports = {
|
||||||
splashscreen: {
|
splashscreen: {
|
||||||
|
win: null,
|
||||||
|
|
||||||
show = function() {
|
show = function() {
|
||||||
exec(null, null, "SplashScreen", "show", []);
|
win= window.open('splashscreen.html');
|
||||||
},
|
},
|
||||||
|
|
||||||
hide = function() {
|
hide = function() {
|
||||||
exec(null, null, "SplashScreen", "hide", []);
|
win.close();
|
||||||
|
win = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user