Skip to content

Commit ca239b6

Browse files
committed
Merge branch 'master' of github.com:vuejs/vuejs.org
2 parents 18d5564 + c429ee1 commit ca239b6

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

src/api/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,8 @@ type: api
371371

372372
Properties that start with `_` or `$` will **not** be proxied on the Vue instance because they may conflict with Vue's internal properties and API methods. You will have to access them as `vm.$data._property`.
373373

374+
If required, a deep clone of the original object can be obtained by passing `vm.$data` through `JSON.parse(JSON.stringify(...))`.
375+
374376
- **Example:**
375377

376378
``` js

src/guide/components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ The API for a Vue.js component essentially comes in three parts - props, events
765765

766766
- **Slots** allow the external environment to insert content into the component's view structure.
767767

768-
With the dedicate shorthand syntax for `v-bind` and `v-on`, the intents can be clearly and succinctly conveyed in the template:
768+
With the dedicated shorthand syntax for `v-bind` and `v-on`, the intents can be clearly and succinctly conveyed in the template:
769769

770770
``` html
771771
<my-component

src/guide/syntax.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,17 @@ The `v-` prefix serves as a visual cue for identifying Vue-specific attributes i
148148

149149
<!-- shorthand -->
150150
<a :href="url"></a>
151+
152+
or
153+
154+
<!-- full syntax -->
155+
<button v-bind:disabled="someDynamicCondition">Button</button>
156+
157+
<!-- shorthand -->
158+
<button :disabled="someDynamicCondition">Button</button>
151159
```
152160

161+
153162
### `v-on` Shorthand
154163

155164
``` html

0 commit comments

Comments
 (0)