Overview

This allows you to scroll to the top automatically if your page is very long. Valid page components for this action are:

  • ModeSwitcher – the onCreate and onCancel propertied can be used.
  • ActionButton – the onClick property can be used.

Properties

PropertyDescription
actionSet this to “scrollToTop” to use this action.

Example

Add the following to your component:

"onClick": [
  {
    "action": "scrollToTop"
  }
]