Skip to main content

Documentation Index

Fetch the complete documentation index at: https://doc.lucidworks.com/llms.txt

Use this file to discover all available pages before exploring further.

Description

Appkit service providing functions for scrolling to the top or a particular element ID on the page.

Methods

scrollToElement(id)

Scrolls to a specific element based on ID (if no element id is provided it will scroll to the top of the page).
Parameters
ParamTypeDetails
id (optional)stringThe ID of the element to scroll to (if the ID is not defined then this function will scroll the user to the top of the page).

Example

  ScrollToService.scrollToElement('foo');