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>はユーザーの動きを反映するボタンを表示するためのUIコンポーネントです。
使用できる動きについてはGestures in the official NativeScript documentationを見てください。
<Button text="Button" @tap="onButtonTap" />

| 名前 | 型 | 説明 |
|---|---|---|
text | String | ボタンのラベルを取得・設定します。 |
textWrap | Boolean | ウィジェトがラベルのテキストを覆うかどうかについて取得・設定します。the text of the label. ラベルが長いときに有用です。デフォルトの値はfalseです。 |
| 名前 | 説明 |
|---|---|
tap | ボタンがタップされたときに通達されます。 |
| Android | iOS |
|---|---|
android.widget.Button | UIButton |