Gets the underlying PlayCanvas scrollbar component.
The scrollbar component.
Gets the enabled state of the component.
The enabled state of the component.
Sets the enabled state of the component.
The enabled state of the component.
Gets the reference to the <pc-entity> used as the scrollbar handle.
The handle entity reference.
Sets the reference (CSS selector, element id or entity name) to the <pc-entity> used as the
scrollbar handle.
The handle entity reference.
Gets the size of the handle relative to the size of the track.
The handle size.
Sets the size of the handle relative to the size of the track, in the range 0 to 1.
The handle size.
Gets the orientation of the scrollbar.
The orientation.
Sets the orientation of the scrollbar. Can be horizontal (0) or vertical (1).
The orientation.
Gets the current position value of the scrollbar.
The scrollbar value.
Sets the current position value of the scrollbar, in the range 0 to 1.
The scrollbar value.
Protected_Called when the element is fully initialized and ready. Subclasses should call this when they're ready.
Returns a promise that resolves with this element when it's ready.
A promise that resolves with this element when it's ready.
The ScrollbarComponentElement interface provides properties and methods for manipulating
<pc-scrollbar>elements. The ScrollbarComponentElement interface also inherits the properties and methods of the HTMLElement interface.