App Studio

Version 4.2
How To
Documentation
    Learn More

      widget:scroll-to

      Description

      When clicked scrolls to the top of the page or to the specified element by ID. Styles can be added to fix the scroll to top to the bottom left right or center of the page by adding the style tag with 'bottom-right' OR 'bottom-center' OR 'bottom-left'

      Usage

      as element:
      <widget:scroll-to
             [scroll-to-id="{string}"]>
      </widget:scroll-to>

      Directive info

      • This directive creates new scope.

      Parameters

      ParamTypeDetails
      scroll-to-id
      (optional)
      string

      The id of the element to scroll to.

      Example

      Source

      
      
      

      Demo