From 028a03715f6e3e76263fd8c4719d856b12ac92a2 Mon Sep 17 00:00:00 2001 From: Justineo Date: Thu, 9 Nov 2017 14:12:35 +0800 Subject: [PATCH] add the missing "scope" in api.md --- src/v2/api/index.md | 12 +++++++++++- themes/vue/source/css/_api.styl | 5 +++++ themes/vue/source/css/page.styl | 1 + 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 themes/vue/source/css/_api.styl 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 `