outsystems-ui - v3.0.0
    Preparing search index...

    Function ScrollToElement

    • Function to scroll to a given element

      Parameters

      • ElementId: string

        Id of the element to scroll to

      • OptionalIsSmooth: boolean = true

        True to scroll smoothly

      • OptionalOffSet: number = 0

        Offset from the top of the element, in pixels

      • OptionalElementParentClass: string

        Class of the scrollable parent, used to compute the scroll offset

      • OptionalScrollDelay: number

        Delay before scrolling, in milliseconds

      Returns string