Skip to main content

ElementSetScrollPercentage

Callable

  • ElementSetScrollPercentage(ID: string, scrollPercentage: number, scrollBehavior?: ScrollBehavior): void

  • Sets the scroll position of an element to a specified percentage of its scrollable content. Ideally scroll percentage should be gotten with ElementGetScrollPercentage


    Parameters

    • ID: string
    • scrollPercentage: number
    • scrollBehavior: ScrollBehavior = 'auto'

    Returns void