Hi every one, I want to use a section in the app I'm developing to have 3 windows and I want to be able to sweep thru them and back so far I can swipe to the one side but not back can anyone maybe help with this this is a small piece of the code to give you an idea :
winTaskW1.addEventListener('swipe',function(e)
{
if (e.direction == 'left')
{
TaskHist();
winTaskW2.open();
};
});
winTaskW2.addEventListener('swipe',function(e)
{
if (e.direction == 'left')
{
winTaskW3.open();
TaskComm();
} else if (e.direction == 'right')
{
TaskInf();
winTaskW1.open();
};
});
The Taskinf and TaskComm and TaskHist is the functions that creates the window and tabs in the window. PLEASE HELP
1 Answer
Hi Stiaan, I think thats not a good approach you are following, use scrollable view instead and put your views there. that will be good from UX perspective and memory as well .
Your Answer
Think you can help? Login to answer this question!