ScrollView

Using a ScrollView requires the ScrollView module.

import { ScrollView, ScrollEventData } from "tns-core-modules/ui/scroll-view";

Declaring the ScrollView

<Page>
 <ScrollView>
   <Image src="{{ someBigImageUrl }}" />
 </ScrollView>
</Page>

Creating a ScrollView

const scrollView = new ScrollView();
Is this article helpful? Yes / No
Thank you for your feedback!

Tell us how we can improve this article

NativeScript
NativeScript is licensed under the Apache 2.0 license .
© Progress Software Corporation. All Rights Reserved.