diff --git a/src/v2/api/index.md b/src/v2/api/index.md index ec8b53973c..173b29b838 100644 --- a/src/v2/api/index.md +++ b/src/v2/api/index.md @@ -1048,7 +1048,12 @@ All lifecycle hooks automatically have their `this` context bound to the instanc }, props: { // this allows using the `value` prop for a different purpose - value: String + value: String, + // use `checked` as the prop which take the place of `value` + checked: { + type: Number, + default: 0 + } }, // ... })