I try to do a swipe event / effect from left to right in Touch Touch or HTML 5, so if the HTML page If the user runs on iOS then the user should start the animation, if on the screen, from the left to the left on the screen, to the right on the screen.
How can this be done? easily '?
If I understand you correctly, then you want to change the content, Swipe either left / right I believe the easiest way is to use a carousel. Please take a look at Sew Touch Kitchen Sink Examples (User Interface -> Carousel):
Below is a code example that is taken from kitken sync which shows the use of the carousel: < Pre> new extension. Panel ({cls: 'card', layout: {type: 'vbox', align: 'stretch'}, default: {FLEX: 1}, item: [{xtype: 'carousel ', Item: [[HTML: Navigate the carousel on this page by swiping left / right. & Lt; / p & gt;', cls: 'card card 1'}, {html: & lt; p & Gt; & lt; / p & gt; ', cls:' Card Card 2 '}, {html:' Card # 3 ', CLS:' Card Card 3 '}}}}}} towards the below signals; ;
Comments
Post a Comment