diff --git a/ScrollableMixin.js b/ScrollableMixin.js index 97dbfe6..0e44ba0 100644 --- a/ScrollableMixin.js +++ b/ScrollableMixin.js @@ -7,6 +7,10 @@ let ScrollableMixin = { this.getScrollResponder().scrollTo(destY, destX); }, + scrollToEnd(options?: { animated?: boolean }) { + this.getScrollResponder().scrollToEnd(options); + }, + scrollWithoutAnimationTo(destY?: number, destX?: number) { this.getScrollResponder().scrollWithoutAnimationTo(destY, destX); },