Aug 23, 2017 · 1 min read
Hi Gerard. This is really exciting — and thanks for the great demo!
I’m trying to use this technique, but I’d like to extend it by having a dynamic property passed to the animation. Here’s a little bit of the code where offsetTopPx is a property I’m trying to bind. It seems the initial value of the variable is honored, but if I update the variable just before triggering the routing animation, the new value is not honored. Have you any advice on this?
query('.sel-image', style({ transform: 'translateX(0px)', position: 'absolute', top: '{{ offsetTopPx }}' })),Alex
