Never mind, I removed the animation, now just displaying and hiding the 
element. I added the jQuery to the polymer element html, using:

   - 
   - <script 
   
src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.0/jquery.min.js";></script>
   - & the script it self.

As a method to implement jQuery with polymer elements. Till jQuery updates 
its library to be used with polymer, this is how I will implement jQuery 
scripts.

On Tuesday, March 3, 2015 at 12:48:11 AM UTC+2, Dentrist wrote:
>
> Hi, after experimenting with polymer I decided to implement custom 
> elements & change simple structures to polymer templates/elements.
>
> The problem appeared when I tried to use *.slideDown('fast') *& 
> *.slideUp('fast')* on custom polymer tag called "scroll-top". Although 
> the jQuery does work in displaying & hidding the custom tag and on 
> scrolling animation for the body tag, it doesn't work when using jQuery 
> animations.
>
> In this example, after scrolling down on the page, you can see a "polymer" 
> tag and a "normal/regular" tag applied near each other. In this case the 
> regular one has a "sliding" effect before disappearing but the polymer tag 
> doesn't it just disappears without animation.
>
>    - *Dentrist.com* <http://Dentrist.com>
>    
>
> How can I implement jQuery with polymer elements ?
>
> Please help ! Thnaks.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/49884602-06f9-423d-aa8c-36700bc17eab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to