mirror of
https://github.com/apache/cordova-plugin-splashscreen.git
synced 2026-04-14 00:01:34 +08:00
Native Tizen implementation of SplashScreen API.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user