Method | Description |
|---|
pause | Pauses the animation |
resume | Resumes the paused animation |
start
| Starts the animation |
stop | Stops the animation |
showNext |
scrolls the rotator in the specified direction and shows the next frame. The direction parameter must be of type Telerik.Web.UI.RotatorScrollDirection, e.g.
rotator1.showNext(Telerik.Web.UI.RotatorScrollDirection.Right); |
get_currentItem | Gets the current item. |
set_currentItemIndex | Sets currently shown item by its index |
addRotatorItem | Creates and adds a new item to the RadRotator's client-side item collection. The item will not exist in the rotator's items collection on the server This method accepts two parameters: radRotatorItemData - an object that has a property named Html. The HTML markup of the new item should be specified in this property. If this parameter is not set, an empty item will be added in the RadRotator.
index - the position, in which the item will be added. If this parameter is not specified, the new item will be added at the last position.
|
removeRotatorItem | Removes an item from the RadRotator's client-side items collection. The removed item will exist in the rotator's items collection on the server This method accepts one parameter: |
clearItems | Clears all items in the RadRotator's client-side items collection. The items will not be removed in the rotator's items collection on the server |
isViewportScrollMode | Returns a Boolean that indicates if the rotator is scrolling item by item or it is scrolling the whole viewport |
stopViewportAnimation | If an item is partially shown and the rotator is paused, calling this function will force the rotator to fully display the item. |
isAutomaticAdvance | Returns a Boolean that indicates if the rotator is set in AutomaticAdvance mode. |
isSlideShow | Returns a Boolean that indicates if the rotator is set in SlideShow mode |
isScrollingForward | Returns a Boolean that indicates if the rotator is scrolling forwards. |
isScrollingLeft | Returns a Boolean that indicates if the rotator is scrolling to the left. |
isScrollingUp | Returns a Boolean that indicates if the rotator is scrolling upward. |
get_defaultAnimationDirection | Returns the default animation direction. |
get_rotatorType | Gets rotator's type |
set_rotatorType | Sets rotator's type |
isVertical | Returns a Boolean that indicates if the rotator is verticalr |
get_height | Gets rotator's height |
get_width | Gets rotator's width |
get_initialItemIndex | Gets rotator's initial item's index |
isVisible | Returns a Boolean that indicates if the rotator is visible. |
repaint | Redraw the rotator |
get_wrapFrames | Returns true if RadRotator is set to start scrolling the rotator frames from the beginning, once the rotator shows the last frame. |
set_wrapFrames | Accepts true or false as an argument. When set to true, RadRotator will start scrolling the rotator frames from the beginning, once the last frame is shown. |
get_scrollDuration | Gets the speed in milliseconds for scrolling rotator items. |
set_scrollDuration | Sets the speed in milliseconds for scrolling rotator items. |
set_frameDuration | Sets the time in milliseconds each frame will display in automatic scrolling scenarios. |
get_frameDuration | Gets the time in milliseconds each frame will display in automatic scrolling scenarios. |
add_load | Sets a name of a JavaScript function to be called when the rotator is loaded. |
remove_load | Removes the reference. |
add_buttonOver | Sets a name of a JavaScript function to be called when mouse's cursor is over rotator's button |
remove_buttonOver | Removes the reference |
add_buttonOut | Sets a name of a JavaScript function to be called when mouse's cursor hovers out of rotator's button |
remove_buttonOut |
Removes the reference
|
add_buttonClick |
Sets a name of a JavaScript function to be called when rotator's button is clicked
|
remove_buttonClick |
Removes the reference
|
add_itemClicking(function_name) | Sets a name of a JavaScript function to be called when an item is clicked |
remove_itemClicking(function_name) | Removes the Javascript function identified by function_reference. |
add_itemClicked(function_name) | Sets a name of a JavaScript function to be called after a item is clicked |
remove_itemClicked(function_name) | Removes the Javascript function identified by function_reference. |
add_mouseOver(function_name) | Sets a reference to the JavaScript function to be called when the mouse hovers a item. |
remove_mouseOver(function_name) | Removes the Javascript function identified by function_reference. |
add_mouseOut(function_name) | Sets a reference to the JavaScript function to be called after the mouse leaves a item. |
remove_mouseOut(function_name) | Removes the Javascript function identified by function_reference. |
add_itemShowing(function_name) | Sets a reference to the JavaScript function to be called when an item is about to be shown. |
remove_itemShowing(function_name) | Removes the Javascript function identified by function_reference. |
add_itemShown(function_name) | Sets a reference to the JavaScript function to be called after an item has been shown. |
remove_itemShown(function_name) | Removes the Javascript function identified by function_reference. |
get_items | Returns rotator's item collection |