ScrollView

Using a ScrollView requires the ScrollView module.

import * as scrollViewModule from "tns-core-modules/ui/scroll-view";

Declaring the ScrollView

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

Creating a ScrollView

var scrollView = new scrollViewModule.ScrollView();

Stay connected with NativeScript

(expect a newsletter every 4-8 weeks)

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