You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -606,8 +606,8 @@ A Check Box is a FlxUIGroup which contains three objects: a "box" image, a "chec
606
606
607
607
Attributes:
608
608
*```x```/```y```, ```use_def```, ```group```
609
-
*```check_src``` - source image for box (not 9-sliceable, not scaleable)
610
-
*```box_src``` - source image for check mark (not 9-sliceable, not scaleable)
609
+
*```check_src``` - source image for check mark (not 9-sliceable, not scaleable)
610
+
*```box_src``` - source image for box (not 9-sliceable, not scaleable)
611
611
*```text_x``` / ```text_y``` - label offsets
612
612
*```label``` - text to show
613
613
*```context``` - FireTongue context (see Button)
@@ -624,8 +624,8 @@ Child tags:
624
624
*If you supply ```<check>``` or ```<box>``` child tags instead of their attribute equivalents, FlxUI will treat them as full-fledged ```<sprite>``` or ```<chrome>``` tags to load for the checkmark and box assets. You'll want to use this method if you want to do something complicated, like load a scaled sprite, or a 9-slice-scaled sprite, that you can't normally accomplish with the src attributes, which just load a static image as-is.
625
625
626
626
Event:
627
-
* name - "click_checkbox"
628
-
* params - as defined by user, but with this one automatically added to the list at the end: "checked:true" or "checked:false"
627
+
* name - "click_check_box"
628
+
* params - as defined by user, but with this one automatically added to the list at the end: ```{name:"checked", value:false}```or ```{name:"checked", value:true}```
0 commit comments