Class
Button
Button
Summary
Constructors
Constructors
constructor
new Button(): Button
Properties
android
defined in @nativescript/core/ui/button/index.d.ts:16:1
ios
defined in @nativescript/core/ui/button/index.d.ts:21:1
textWrap
defined in @nativescript/core/ui/button/index.d.ts:26:1
tapEvent
Static
Methods
on
on(eventNames: string, callback: (data: EventData) => void, thisArg?: any): any
defined in @nativescript/core/ui/button/index.d.ts:34:1
| Parameter | Default | Description |
eventNames | | string |
callback | | (data: EventData) => void |
thisArg | | any |
Returns any
on(event: "tap", callback: (args: EventData) => void, thisArg?: any): any
defined in @nativescript/core/ui/button/index.d.ts:39:1
| Parameter | Default | Description |
event | | "tap" |
callback | | (args: EventData) => void |
thisArg | | any |
Returns any
- Previous
- Builder
- Next
- ChangeType