navigation.scroll_to_top - Initialization - Assess API

Assess API Initialization

scroll_to_top

When enabled, this allows Assess API to scroll to the top of the container when the user navigates to the next or previous item.

Note This feature has the same behavior as scroll_to_test, but triggers every time the user navigates between items.

Values

Attribute path navigation.scroll_to_top

Default true

  • Type boolean

    Enable scrolling to the top of the assessment container without any additional offset.

  • Type object

    • offset_top number

      Enable scrolling above top of the assessment container based on the offset.

      Note This setting is useful when having a custom header above the assessment container.

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.