From b11e380c47c3bf69d02b5dcb83411b1d04e254e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bartosz=20Szczeci=C5=84ski?=
end
will align the snap at the right (horizontal) or bottom (vertical)
When set, causes the scroll view to stop at multiples of the value of
snapToInterval
. This can be used for paginating through children
that have lengths smaller than the scroll view. Used in combination
-with snapToAlignment
.
The current scale of the scroll view content. The default value is 1.0.
Scrolls to a given x, y offset, either immediately or with a smooth animation.
Example:
scrollTo({x: 0; y: 0; animated: true})
Note: The weird function signature is due to the fact that, for historical reasons,
+with snapToAlignment
.
The current scale of the scroll view content. The default value is 1.0.
Scrolls to a given x, y offset, either immediately or with a smooth animation.
Example:
scrollTo({x: 0, y: 0, animated: true})
Note: The weird function signature is due to the fact that, for historical reasons, the function also accepts separate arguments as an alternative to the options object. This is deprecated due to ambiguity (y before x), and SHOULD NOT BE USED.
If this is a vertical ScrollView scrolls to the bottom. If this is a horizontal ScrollView scrolls to the right.
Use scrollToEnd({animated: true})
for smooth animated scrolling,
@@ -278,4 +278,4 @@
inputSelector: '#algolia-doc-search',
algoliaOptions: { facetFilters: [ "tags:0.44" ], hitsPerPage: 5 }
});
-