So i have an application that starts up using the default platform. I have added a button on the home screen that allows you to pick which platform you would like the UI to mimic. My problem is actually getting the UI to change, or having it partially change.
I have some javascript code like:
var crmMobile = (function () {
var mobileApp = null;
return {
init: function (cfg) {
mobileApp = new kendo.mobile.Application(document.body, {
skin: settings.skin //this sets it to default
});
},
changeSkin: function (skin) { //I have tried used both of the below methods
mobileApp.skin = skin;
mobileApp.platform = skin;
}
}
})
Neither of those calls seems to change the the look. any help would be much appreciated! Thanks.
I have some javascript code like:
var crmMobile = (function () {
var mobileApp = null;
return {
init: function (cfg) {
mobileApp = new kendo.mobile.Application(document.body, {
skin: settings.skin //this sets it to default
});
},
changeSkin: function (skin) { //I have tried used both of the below methods
mobileApp.skin = skin;
mobileApp.platform = skin;
}
}
})
Neither of those calls seems to change the the look. any help would be much appreciated! Thanks.