Add tentative Tizen implementation.
This commit is contained in:
parent
4b757c8e73
commit
9ebd08f69b
@ -80,4 +80,9 @@
|
|||||||
</js-module>
|
</js-module>
|
||||||
</platform>
|
</platform>
|
||||||
|
|
||||||
|
<!-- tizen -->
|
||||||
|
<platform name="tizen">
|
||||||
|
<js-module src="www/tizen/SplashScreenProxy.js" name="SplashScreenProxy">
|
||||||
|
</js-module>
|
||||||
|
</platfom>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
14
src/tizen/SplashScreenProxy.js
Normal file
14
src/tizen/SplashScreenProxy.js
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
var exec = require('cordova/exec');
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
splashscreen: {
|
||||||
|
show = function() {
|
||||||
|
exec(null, null, "SplashScreen", "show", []);
|
||||||
|
},
|
||||||
|
hide = function() {
|
||||||
|
exec(null, null, "SplashScreen", "hide", []);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
require("cordova/tizen/commandProxy").add("SplashScreen", module.exports);
|
Loading…
x
Reference in New Issue
Block a user