smooth scroll with Enyo onclick of Button

edited April 2016 in Enyo 2.5
Hi All

I have few Buttons In a layout Where i am not able see all the Button controls When I open the Layout in Small Screen Devices Like ipad,tablets But Same Working in the Desktop Machines.


Note:There is a piece of Code from Jquery which Implements this i.e
$('#link').click(function(){
$("html, body").animate({ scrollTop: 0 }, 600);
return false;
});


Can Some Body Help in this.

Comments

Sign In or Register to comment.