new scrllbr(options){msk}
        Initializes a new scrllbr instance.
    
    
    
    
    
    
    
        
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| options | Object | Options used to customize the scrllbr 
 | 
Returns:
| Type | Description | 
|---|---|
| msk | A new scrllbr instance. | 
Requires
Members
- 
    readonlyelElement
- 
    
    The container element associated with this instance
- 
    readonlyrangeNumber
- 
    
    The range of the scrllr thumb in pixels
- 
    scrollNumber
- 
    
    The current scroll position as a number between 0 and 1
- 
    targetElement
- 
    
    The element to which the scrllbr is attached
- 
    readonlytypeString
- 
    
    Indicates the orientation of the scrllbr instance
Methods
- 
    staticscrllbr.getElInstance(el){scrllbr}
- 
    
    
    returns the scrllbr instance associated with the provided element's id attributeName Type Description elElement The element with the lookup id Returns:Type Description scrllbr The associate scrllbr, if it exists 
- 
    staticscrllbr.getInstance(id){scrllbr}
- 
    
    
    returns the scrllbr instance associated with the idName Type Description idString The lookup id Returns:Type Description scrllbr The associate scrllbr, if it exists 
- 
    addListeners()
- 
    
    
    Attach scroll listeners to the target
- 
    onMutate()
- 
    
    
    Updates thumb when the target is mutated
- 
    onScroll()
- 
    
    
    Updates thumb position when the target is scrolled
- 
    removeListeners()
- 
    
    
    Remove scroll listeners to the target
- 
    startScroll()
- 
    
    
    Add listeners to enable manual scrolling
- 
    stopScroll()
- 
    
    
    Remove manuak scroll listeners
- 
    trackScroll()
- 
    
    
    Handle track interactions
- 
    updateScroll()
- 
    
    
    Update tha target scroll position based on user action