NativeScript-Vue 2.0: Back to the Vueture (Webinar) is now on YouTube
ScrollView

This is an overview of the most common usage of ScrollView. For more information about the available properties, methods, or events, head over to the complete API documentation for ScrollView.

O componente ScrollView permite que você mostre o conteúdo com rolagem.


<ScrollView orientation="horizontal">
  <StackLayout orientation="horizontal">
    <Label text="this" />
    <Label text="text" />
    <Label text="scrolls" />
    <Label text="horizontally" />
    <Label text="if necessary" />
  </StackLayout>
</ScrollView>

Propriedades

nometipodescrição
orientationStringhorizontal ou vertical. Padrão vertical.

Eventos

nomedescrição
scrollEmitido quando ocorre o evento de rolagem
Contributors