@nativescript-community/ui-checkbox
Version:
NativeScript plugin for checkbox.
18 lines (17 loc) • 702 B
TypeScript
import { Color, Property, View } from '@nativescript/core';
import { CheckBoxInterface } from '.';
export declare enum BoxType {
circle = "circle",
square = "square"
}
export declare const tintColorProperty: Property<CheckBoxBase, string>;
export declare const fillColorProperty: Property<CheckBoxBase, string>;
export declare const checkedProperty: Property<CheckBoxBase, boolean>;
export declare abstract class CheckBoxBase extends View implements CheckBoxInterface {
checked: boolean;
boxType: any;
fillColor: string | Color;
tintColor: string | Color;
abstract toggle(): void;
_onCheckedPropertyChanged(checkbox: CheckBoxBase, oldValue: any, newValue: any): void;
}