Vertical drag

The vertical version of drag is almost the same as the horizontal version. The significant differences are in the callback properties, which are onVerticalDragStartonVerticalDragUpdate, and onVerticalDragEnd.

What changes for vertical and horizontal callbacks in terms of code is the delta property value of the DragUpdateDetails class. For horizontal, it will only have the horizontal part of the offset changed, and for vertical, the opposite is the case.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.252.140