네비게이션 버튼 (NavigationButton)

This is an overview of the most common usage of 네비게이션 버튼 (NavigationButton). For more information about the available properties, methods, or events, head over to the complete API documentation for 네비게이션 버튼 (NavigationButton).

NavigationButton 컴포넌트는 안드로이드 네비게이션 버튼과 iOS 백버튼(back button)의 네이티브-스크립트 추상화입니다.


<ActionBar title="My App">
  <NavigationButton text="Go back" android.systemIcon="ic_menu_back" @tap="goBack" />
</ActionBar>

Props

이름타입설명
textString텍스트를 iOS 에서 보여주도록 설정.
android.systemIconString해당 아이콘이 안드로이드에서 보입니다.

안드로이드의 아이콘 리스트는 다음 페이지에서 찾을 수 있습니다. https://developer.android.com/reference/android/R.drawable.html. 아이콘은 ic_ 접두어와 함께 시작하는 것들입니다.

Events

이름설명
tap네비게이션 버튼을 탭(tab) 했을때 발생(Emit).
Contributors