버튼 (Button)

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

버튼(Button) 컴포넌트는 탭(tab) 이벤트에 반응하는 버튼을 표시하는데 사용됩니다.

상호작용이 탭(tab) 이벤트로만 제한되는 것은 아닙니다. 네이티브-스크립트에서 사용가능한 모든 제스쳐에대하여 공식 문서를 읽어보세요.


<Button text="Button" />

Props

이름타입설명
textString버튼에 보이는 텍스트.
textWrapboolean버튼의 텍스트가 래핑될지 결정. 기본값은 false.

이벤트

이름설명
tap버튼이 눌릴때 발생(Emit)

네이티브 컴포넌트

AndroidiOS
android.widget.ButtonUIButton
Contributors