-
12 Nov 2010 9:35 AM #11
Glad your enjoying it.
As for the naming, my local web server routes all requests for /touch/* to the most recent build folder. Im not too worried about the examples being out of the box working. The end user should be able to figure out how to change a path on their own.-Shea
My Blog:VinylFox | Twitter:@VinylFox | JavaScript Magazine:JSMag | Curator of the Baltimore/DC JavaScript Meetup | Author: Learning ExtJS 3.x Book
ExtJS Extensions & Plugins: GMapPanel UX | HtmlEditor Buttons Plugin | Selection Enabler Plugin | Grid DataDrop Plugin | Additional Ext.Fx
Sencha Touch Plugins: Swipe Tabs | List Pull Refresh | Accelerometer Tabs
-
16 Dec 2010 7:59 AM #12
Hi Shea,
Great work. Should be in the product I think.
One of the items in my tabpanel is a list.
The plugin fails on this item because it doesn't have a getLayout method.
Should I put a panel around the list?
Thanx, RonaldLast edited by RonaldBrinkerink; 16 Dec 2010 at 8:01 AM. Reason: typo
-
16 Dec 2010 11:05 AM #13
I just noticed the same thing yesterday when building a new app.
The List Component had recently been changed to be a non-Panel based component which must now be contained within a Panel, so I'm sure there is something going on there.
Ill take a look into what's going on.-Shea
My Blog:VinylFox | Twitter:@VinylFox | JavaScript Magazine:JSMag | Curator of the Baltimore/DC JavaScript Meetup | Author: Learning ExtJS 3.x Book
ExtJS Extensions & Plugins: GMapPanel UX | HtmlEditor Buttons Plugin | Selection Enabler Plugin | Grid DataDrop Plugin | Additional Ext.Fx
Sencha Touch Plugins: Swipe Tabs | List Pull Refresh | Accelerometer Tabs
-
16 Dec 2010 2:09 PM #14
-Shea
My Blog:VinylFox | Twitter:@VinylFox | JavaScript Magazine:JSMag | Curator of the Baltimore/DC JavaScript Meetup | Author: Learning ExtJS 3.x Book
ExtJS Extensions & Plugins: GMapPanel UX | HtmlEditor Buttons Plugin | Selection Enabler Plugin | Grid DataDrop Plugin | Additional Ext.Fx
Sencha Touch Plugins: Swipe Tabs | List Pull Refresh | Accelerometer Tabs
-
5 Jan 2011 3:44 AM #15
-
5 Jan 2011 6:19 AM #16
Interesting...
swipe action on my carousel components stopped working once I added the plugin.
My root component is a tabpanel and its cards have carousels and so I cant use the plugin as is.
I still would love to incorporate it, what I need is to detect my 'current' view and if it includes the carousel I need to disable swipe tabs (or something like that).
any suggestions on how to do this?
-
5 Jan 2011 6:27 AM #17
This plugin can't read your mind, it has no way to know if your swipe was meant to change tabs or move the carousel. Not sure why you expected that to work.
With that said, I have used a carousel as the last tab in a set of tabs and that works out just fine. Once you are at the first item in the carousel, the swipe activates the tab change, otherwise it moves the carousel.-Shea
My Blog:VinylFox | Twitter:@VinylFox | JavaScript Magazine:JSMag | Curator of the Baltimore/DC JavaScript Meetup | Author: Learning ExtJS 3.x Book
ExtJS Extensions & Plugins: GMapPanel UX | HtmlEditor Buttons Plugin | Selection Enabler Plugin | Grid DataDrop Plugin | Additional Ext.Fx
Sencha Touch Plugins: Swipe Tabs | List Pull Refresh | Accelerometer Tabs
-
5 Jan 2011 6:36 AM #18
thanks. of course this makes complete sense...
If I can detect what is the current view I need to check the most deaply nested visible child with swipe bahavior (carousel, tabpanel w. plugin) and it should be the one 'enjoying' the swipe...
not sure if this is feasible to implement
-
17 Feb 2011 12:38 AM #19
I ran into a little problem when I had a {xtype: 'map'} in one of my tabs. Everytime I swiped to move around the map I swiped to the next/previous tab.
To temporarily solve this I added a "noswipe: true," property to the tab panel containing the {xtype: 'map'} and modified the plugin with
So I can still use the plugin and swipe between tabs but the plugin is not enabled on the tab panel containing my map.Code:initSwipeHandlers: function(){ this.cmp.til = this.cmp.items.length-1; this.cmp.items.each(function(itm, i){ if(itm.noswipe && itm.noswipe === true){ //Dont add swipe }else{Simon Flack
CEO and UX Designer
WhiteFox AS, Norway
Web: www.whitefox.no
Facebook: www.facebook.com/WhiteFoxAS
Twitter: @WhiteFoxAS
-
28 Feb 2011 8:42 AM #20
Thanks again Simon for your contributions, I have integrated your request, though I made a slight naming change. The noswipe config seemed a bit too much of a double negative to me, so I called it allowSwipe instead.
https://github.com/VinylFox/Ext.ux.touch.SwipeTabs-Shea
My Blog:VinylFox | Twitter:@VinylFox | JavaScript Magazine:JSMag | Curator of the Baltimore/DC JavaScript Meetup | Author: Learning ExtJS 3.x Book
ExtJS Extensions & Plugins: GMapPanel UX | HtmlEditor Buttons Plugin | Selection Enabler Plugin | Grid DataDrop Plugin | Additional Ext.Fx
Sencha Touch Plugins: Swipe Tabs | List Pull Refresh | Accelerometer Tabs
Similar Threads
-
Ext Designer for Touch
By Frank R in forum Sencha Touch 1.x: DiscussionReplies: 6Last Post: 11 Feb 2012, 12:53 PM -
Ext JS and Sencha Touch!
By mcamer in forum Sencha Touch 1.x: DiscussionReplies: 8Last Post: 1 Dec 2010, 10:19 AM -
Sencha Touch on iPhone v1 / iPod touch v1 ?
By palnap in forum Sencha Touch 1.x: DiscussionReplies: 4Last Post: 28 Oct 2010, 5:30 PM -
How can I use the Ext.Msg in sencha touch?
By bu123 in forum Sencha Touch 1.x: DiscussionReplies: 3Last Post: 23 Jul 2010, 4:35 AM -
Ext Touch Core anyone?
By mystix in forum Sencha Touch 1.x: DiscussionReplies: 1Last Post: 11 Jun 2010, 4:52 AM




Reply With Quote