Scroll Arrangement Handlers (v2+)


This extension package included two extensions. Horizontal Scroll Arrangement Handler(HorizontalScrollHandler) AND Vertical Scroll Arrangement Handler(VerticalScrollHandler).

  • Update on 2017.12.25 (Version 3)

    • Fixed that the events of VerticalScrollHandler are not called when it should be called.
    • Fixed that event ScrollChanged of VerticalScrollHandler provides a incorrect data
    • Fixed that ScrollPosition, MaxScrollPosition in different unit (i mess up android dx & appinventor px before)
      and related events should works well now (like ReachBottom)
    • Fixed that OverScrollMode does not affect the actual behaviour (for both Vertical and Horizontal)
    • Added Overscroll events
    • Merry Christmas!
  • Update on 2017.9.29 (Version 2)

    • Fixed problem that names of methods & events not match the standard. (Extension renamed to avoid confusing)
    • Component icons added
    • FadingEdgeEnabled (Property)
    • OverScrollMode (Property)
    • ScrollBarEnabled (Property)
    • UserControl (Property)
    • MaxScrollPosition (Property)
    • ScrollPosition (Property)
  • Update on 2017.8.26:

    • Added TouchUp (Event)

Horizontal Scroll Arrangement Handler (HorizontalScrollHandler)

h-Events

  • OverScrollLeft (dragged leftward)
  • OverScrollRight (dragged rightward)
  • ReachLeftEnd
  • ReachRightEnd
  • ScrollChanged
  • TouchDown
  • TouchUp

h-Methods

  • ArrowScrollLeftward (half-width)
  • ArrowScrollRightward (half-width)
  • PageScrollLeftward (full-width)
  • PageScrollRightward (full-width)
  • RegisterScrollView
  • ScrollBy
  • ScrollLeftEnd
  • ScrollRightEnd
  • ScrollTo
  • SmoothScrollBy
  • SmoothScrollTo
  • parameters:
    • px - the displacement of scrolling. positive if scrolling rightward, and negative if scrolling leftward

h-Properties

  • FadingEdgeEnabled
  • MaxScrollPosition
  • OverScrollMode
    • 0 - Always allow a user to over-scroll this view, provided it is a view that can scroll.
    • 1 (default) - Allow a user to over-scroll this view only if the content is large enough to meaningfully scroll, provided it is a view that can scroll.
    • 2 - Never allow a user to over-scroll this view.
    • (This may looks different in different version of system)
  • ScrollBarEnabled
  • ScrollPosition - current scroll position
  • UserControl - Allow user to drag the scroll arrangement (or not)

Vertical Scroll Arrangement Handler (VerticalScrollHandler)

v-Events

  • OverScrollDown (dragged downward)
  • OverScrollUp (dragged upward)
  • ReachBottom
  • ReachTop
  • ScrollChanged
  • TouchDown
  • TouchUp

v-Methods

  • ArrowScrollDownward
  • ArrowScrollUpward
  • PageScrollDownward
  • PageScrollUpward
  • RegisterScrollView
  • ScrollBottom
  • ScrollBy
  • ScrollTo
  • ScrollTop
  • SmoothScrollBy
  • SmoothScrollTo
  • parameters:
    • px - the displacement of scrolling. positive if scrolling downward, and negative if scrolling upward

v-Properties

  • FadingEdgeEnabled
  • MaxScrollPosition
  • OverScrollMode
    • 0 - Always allow a user to over-scroll this view, provided it is a view that can scroll.
    • 1 (default) - Allow a user to over-scroll this view only if the content is large enough to meaningfully scroll, provided it is a view that can scroll.
    • 2 - Never allow a user to over-scroll this view.
    • (This may looks different in different version of system)
  • ScrollBarEnabled
  • ScrollPosition
  • UserControl - Allow user to drag the scroll arrangement (or not)

Download

results matching ""

    No results matching ""