Belin.io Core
    Preparing search index...

    Manages the scroll position.

    Index

    Constructors

    Accessors

    Methods

    • Scrolls to the specified anchor.

      Parameters

      • anchor: string

        The identifier or name of an elment.

      • options: ScrollOptions = {}

        Value indicating whether scrolling is instant or animates smoothly.

      Returns void

    • Scrolls to the specified position.

      Parameters

      • x: number

        The pixel along the horizontal axis.

      • y: number

        The pixel along the vertical axis.

      • options: ScrollOptions = {}

        Value indicating whether scrolling is instant or animates smoothly.

      Returns void