Method ScrollToTop
ScrollToTop(string, TimeSpan)
Scrolls to the top of an element matching specified selector using jQuery.
Declaration
Task ScrollToTop(string elementId, TimeSpan duration)
Parameters
Type | Name | Description |
---|---|---|
string | elementId | |
TimeSpan | duration |
Returns
Type | Description |
---|---|
Task |
ScrollToTop(string)
Scrolls to the top of an element matching specified selector using jQuery.
Declaration
Task ScrollToTop(string elementSelector)
Parameters
Type | Name | Description |
---|---|---|
string | elementSelector |
Returns
Type | Description |
---|---|
Task |