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
+11-5Lines changed: 11 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,9 +33,11 @@ An extended method for changing a button's background, text and border color.
33
33
* @param{number} bgColor - Button's background color (RGB).
34
34
* @param{number} [txColor] - Button text color (RGB). If omitted, the text colour will be automatically set to white or black depends on the background colour.
35
35
* @param{boolean} [showBorder=1]
36
+
* - `n` : The higher the value, the thicker the button's border when focused.
36
37
* - `1` : Highlight when focused.
37
38
* - `0` : No border displayed.
38
39
* - `-1`: Border always visible.
40
+
* - `-n`: The lower the value, the thicker the button's border when always visible.
39
41
* @param{number} [borderColor=0xFFFFFF] - Button border color (RGB).
40
42
* @param{number} [roundedCorner] - Rounded corner preference for the button. If omitted,
0 commit comments