I've just updated SDK version from 6.3.0 to 7.1.0 and setLeftWindow/setRightWindow methods stop working when I pass false as a parameter to disable the window. It was working just fine in 6.3.0.
NappDrawer version is 2.1.0
My code:
var centerWindow = Ti.UI.createWindow({backgroundColor: "#000"});
var rightWindow = Ti.UI.createWindow({backgroundColor: "#999"});
var nappWindow = NappDrawerModule.createDrawer({
centerWindow : centerWindow,
rightWindow : rightWindow,
closeDrawerGestureMode : NappDrawerModule.CLOSE_MODE_ALL,
openDrawerGestureMode : NappDrawerModule.OPEN_MODE_ALL,
rightDrawerWidth : 280
});
nappWindow.setLeftWindow(false);
Hey everyone!
I've just updated SDK version from 6.3.0 to 7.1.0 and setLeftWindow/setRightWindow methods stop working when I pass
false
as a parameter to disable the window. It was working just fine in 6.3.0. NappDrawer version is 2.1.0My code: var centerWindow = Ti.UI.createWindow({backgroundColor: "#000"}); var rightWindow = Ti.UI.createWindow({backgroundColor: "#999"}); var nappWindow = NappDrawerModule.createDrawer({ centerWindow : centerWindow, rightWindow : rightWindow, closeDrawerGestureMode : NappDrawerModule.CLOSE_MODE_ALL, openDrawerGestureMode : NappDrawerModule.OPEN_MODE_ALL, rightDrawerWidth : 280 }); nappWindow.setLeftWindow(false);
Console error:
How can I fix this?