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

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

탭뷰(TabView) 컴포넌트는 탭으로 그룹화된 컨텐츠를 표시할 수 있도록 해줍니다.


<TabView :selectedIndex="selectedIndex">
  <TabViewItem title="Tab 1">
    <label text="Content for Tab 1"></label>
  </TabViewItem>
  <TabViewItem title="Tab 2">
    <label text="Content for Tab 2"></label>
  </TabViewItem>
</TabView>

Props

이름타입설명
selectedIndexNumber현재 선택된 탭. 기본값은 0

이벤트

이름설명
tabChangetab-view-item 컴포넌트중 하나가 탭되었을때 발생

Native Component

AndroidiOS
android.support.v4.view.ViewPagerUITabBarController
Contributors