-
18 Jan 2013 5:38 PM #1
Unanswered: Bounce effect on card layout possible?
Unanswered: Bounce effect on card layout possible?
Hi,
I integrated a card layout with a reveal animation but would like to add a bounce animation so that the user knows he reached the beginning or end of the 'slideshow'. Is this possible? I tried to pass the argument bounces: true to the animation but it didn't work. I know this works in a carousel by default.
It is probably something trivial but nevertheless help is greatly appreciated.Code:panel.animateActiveItem(num_id, { type: 'reveal', bounces : true, direction: event.direction });
thanks,
Alex
-
20 Jan 2013 8:16 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,624
- Vote Rating
- 435
- Answers
- 3106
You can try to extend the reveal animation to add the bounce.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
20 Jan 2013 6:52 PM #3
OK, is there a guide somewhere on how to do this?
thanks.
-
21 Jan 2013 5:15 AM #4
Nope.
Sencha Touch is a framework so flexible that would be too hard to provide guides for all the functionalities that you can customize / add within your app.
If you want to create something new, there's no better guide than dig into the source code, understand how things works and write down some code.
Don't be afraid of the source code.Sencha Inc
Andrea Cammarata, Solutions Engineer
CEO at SIMACS
@AndreaCammarata
www.andreacammarata.com
github: https://github.com/AndreaCammarata


Reply With Quote