1- import { CheckBoxInterface } from "./index"
2- import { Property , CssProperty , Style , booleanConverter } from "tns-core-modules/ui/core/view"
3- import { Color } from "tns-core-modules/color"
4- import { Button } from "tns-core-modules/ui/button"
1+ import { CheckBoxInterface } from "./index" ;
2+ import {
3+ Property ,
4+ CssProperty ,
5+ Style ,
6+ booleanConverter
7+ } from "tns-core-modules/ui/core/view" ;
8+ import { Color } from "tns-core-modules/color" ;
9+ import { Button } from "tns-core-modules/ui/button" ;
510
611declare const CGRectMake : any , CGPointMake : any ;
712const checkBoxBackgroundColorProperty = new CssProperty < Style , string > ( {
@@ -16,48 +21,48 @@ const onCheckColorProperty = new CssProperty<Style, string>({
1621 cssName : "on-check-color" ,
1722 defaultValue : "#ffffff" ,
1823 valueConverter : v => {
19- return String ( v )
24+ return String ( v ) ;
2025 }
21- } )
26+ } ) ;
2227
2328const tintColorProperty = new CssProperty < Style , string > ( {
2429 name : "tintColor" ,
2530 cssName : "tint-color" ,
2631 // defaultValue: "#0075ff",
2732 valueConverter : v => {
28- return String ( v )
33+ return String ( v ) ;
2934 }
30- } )
35+ } ) ;
3136
3237const onTintColorProperty = new CssProperty < Style , string > ( {
3338 name : "onTintColor" ,
3439 cssName : "on-tint-color" ,
3540 valueConverter : v => {
36- return String ( v )
41+ return String ( v ) ;
3742 }
38- } )
43+ } ) ;
3944
4045const fillColorProperty = new CssProperty < Style , string > ( {
4146 name : "fillColor" ,
4247 cssName : "fill-color" ,
4348 valueConverter : v => {
44- return String ( v )
49+ return String ( v ) ;
4550 }
46- } )
51+ } ) ;
4752
4853const checkedProperty = new Property < CheckBox , boolean > ( {
4954 name : "checked" ,
5055 defaultValue : false ,
5156 valueConverter : booleanConverter ,
5257 valueChanged : onCheckedPropertyChanged
53- } )
58+ } ) ;
5459
5560export class CheckBox extends Button implements CheckBoxInterface {
56- _onCheckColor : string
57- _checkBoxBackgroundColor : any
58- _onTintColor : string
59- _tintColor : string
60- _onFillColor : string
61+ _onCheckColor : string ;
62+ _checkBoxBackgroundColor : any ;
63+ _onTintColor : string ;
64+ _tintColor : string ;
65+ _onFillColor : string ;
6166 _fillColor : string ;
6267 private _iosCheckbox : BEMCheckBox ;
6368 private _delegate : BEMCheckBoxDelegateImpl ;
0 commit comments