mirror of
https://github.com/apache/cordova-plugin-splashscreen.git
synced 2026-04-14 00:01:34 +08:00
Merge branch 'tizen' of http://github.com/siovene/cordova-plugin-splashscreen into dev
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
( function() {
|
||||
|
||||
win = null;
|
||||
|
||||
module.exports = {
|
||||
show: function() {
|
||||
if ( win === null ) {
|
||||
win = window.open('splashscreen.html');
|
||||
}
|
||||
},
|
||||
|
||||
hide: function() {
|
||||
if ( win !== null ) {
|
||||
win.close();
|
||||
win = null;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
require("cordova/tizen/commandProxy").add("SplashScreen", module.exports);
|
||||
|
||||
})();
|
||||
Reference in New Issue
Block a user