Skip to content

Scroller

Methods & Usage

scrollToBottom(): void
Scrolls the content of the element to its bottom.

@return void

oi.ui.scroller(this.scroll_element).scrollToBottom();

scrollToTop(): void
Scrolls the content of the element to its top.

@return void

oi.ui.scroller(this.scroll_element).scrollToTop();

scrollToRight(): void
Scrolls the content of the element to its rightmost position.

@return void

oi.ui.scroller(this.scroll_element).scrollToRight();

scrollToLeft(): void
Scrolls the content of the element to its leftmost position.

@return void

oi.ui.scroller(this.scroll_element).scrollToLeft();

isEnabled(): boolean
Check Scroller element is enabled.

@return boolean

Content will be available soon

isDisplayed(): boolean
Check Scroller element is displayed

@return boolean

Content will be available soon

isFocused(): boolean
Scroller element isFocused.

@return boolean

Content will be available soon