File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -39,4 +39,8 @@ export function onTapTest(args){
39
39
export function onDumpModel ( args : any ) {
40
40
var label = < Label > page . getViewById ( "modelDumpLabel" ) ;
41
41
label . text = JSON . stringify ( model . data . getItem ( 0 ) ) ;
42
+ }
43
+
44
+ export function onPropertyChanged ( args : any ) {
45
+ console . log ( "Property Changed" ) ;
42
46
}
Original file line number Diff line number Diff line change 18
18
<Repeater items =" {{ data }}" >
19
19
<Repeater .itemTemplate>
20
20
<StackLayout class =" listitem" >
21
- <CheckBox : CheckBox text =" {{ text }}" checked =" {{ checked }}" fillColor =" {{ color }}" tintColor =" {{ color }}" />
21
+ <CheckBox : CheckBox text =" {{ text }}" checked =" {{ checked }}" fillColor =" {{ color }}" tintColor =" {{ color }}" propertyChanged = " onPropertyChanged " />
22
22
</StackLayout >
23
23
</Repeater .itemTemplate>
24
24
</Repeater >
You can’t perform that action at this time.
0 commit comments