Bump a pager

jakelisby 8 years ago updated by icahill (Administrator) 8 years ago 7
Is there an action that would create the visual of a pager bumping to the left? I'm wondering so it shows a user they can swipe that object.

I know with the scroll tag you can switch to a page, but I was hoping I could do something like 1.2 or something to that effect... :)

Have you all done anything like this before?

Do you have an example of what you mean by "bumping". This seems to be something that might be easily accomplished with a translate action?
Sure, so I'd like the first "page" in the pager to move to the left about 10% quickly, and then move back into place. So it looks like a quick jump to the left.
This sounds like something you can achieve by placing a conditional saying if pager is on page 1, then the pager -10% and back. You might have to translate the parent of the pager to get the effect you are looking for.
I'm a month late...but we actually had an attribute at one point that would alter the rubberband effect. Let me check with dev if it's still around? It was created to help out a client and I'm not sure it was ever surfaced on the final product.
Jake, we do have an attribute on pager/list/tableview that allows you to simply disabled the rubberband/bounce effect. Nothing in the way of altering the severity of the bounce however.

The attribute is the same as the web object; bounces="yes/no"
So we have to add bounces="yes" n the scroll page action like this?

<action name="page">
<scroll page="_page" animated="yes" bounces="yes"/>
bounces="yes" can be added to a pager tag, a list tag or a tableview tag.