UNPKG

@nativescript/core

Version:

A JavaScript library providing an easy to use api for interacting with iOS and Android platform APIs.

17 lines (16 loc) 727 B
import { ButtonBase } from './button-common'; import type { Background } from '../styling/background'; export * from './button-common'; export declare class Button extends ButtonBase { nativeViewProtected: android.widget.Button; private _stateListAnimator; private _highlightedHandler; _applyBackground(background: Background, isBorderDrawable: any, onlyColor: boolean, backgroundDrawable: any): void; createNativeView(): globalAndroid.widget.Button; initNativeView(): void; disposeNativeView(): void; resetNativeView(): void; _updateButtonStateChangeHandler(subscribe: boolean): void; protected getDefaultElevation(): number; protected getDefaultDynamicElevationOffset(): number; }