diff --git a/src/v2/api/index.md b/src/v2/api/index.md index eafa1ec04c..07afaa9d94 100644 --- a/src/v2/api/index.md +++ b/src/v2/api/index.md @@ -2121,16 +2121,26 @@ type: api ### slot-scope +> New in 2.5.0+ + - **Expects:** `function argument expression` - **Usage:** - Use to denote an element or component as a scoped slot. The attribute's value should be a valid JavaScript expression that can appear in the argument position of a function signature. This means in supported environments you can also use ES2015 destructuring in the expression. + Used to denote an element or component as a scoped slot. The attribute's value should be a valid JavaScript expression that can appear in the argument position of a function signature. This means in supported environments you can also use ES2015 destructuring in the expression. Serves as a replacement for [`scope`](#scope-replaced) in 2.5.0+. This attribute does not support dynamic binding. - **See also:** [Scoped Slots](../guide/components.html#Scoped-Slots) +### scope replaced + +Used to denote a `