Skip to content

Commit

Permalink
Add description of value-by for button toggle.
Browse files Browse the repository at this point in the history
  • Loading branch information
xiongmao86 committed Apr 24, 2023
1 parent 617a0d6 commit 584a598
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/docs/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1226,7 +1226,8 @@
"toggleColor": "Color of the toggle button",
"activeButtonTextColor": "The color of the button text with the selected value",
"textBy": "When `options` prop is an object, this key will be used as displayed text. Can be string (path to the key) or function of type: `(option) => option.text`",
"trackBy": "When `options` prop is an object, this key will be used to track selected `options`. Can be string (path to the key) or function of type: `(option) => option.track`"
"trackBy": "When `options` prop is an object, this key will be used to track selected `options`. Can be string (path to the key) or function of type: `(option) => option.track`",
"valueBy": "When `options` prop is an object, this key will be used as `modelValue`. Can be string (path to the key) or function of type: `(option) => option.value`"
},
"events": {
"input": "Emits when toggling to the different button"
Expand Down

0 comments on commit 584a598

Please sign in to comment.