Skip to content

Commit c39a08e

Browse files
fix: remove slashes before dollar signs (#782)
1 parent c04982e commit c39a08e

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/api/instance-methods.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Instance Methods
22

3-
## \$watch
3+
## $watch
44

55
- **Arguments:**
66

@@ -193,7 +193,7 @@
193193

194194
- **See also:** [Watchers](../guide/computed.html#watchers)
195195

196-
## \$emit
196+
## $emit
197197

198198
- **Arguments:**
199199

@@ -274,13 +274,13 @@
274274
- [`emits` option](./options-data.html#emits)
275275
- [Emitting a Value With an Event](../guide/component-basics.html#emitting-a-value-with-an-event)
276276

277-
## \$forceUpdate
277+
## $forceUpdate
278278

279279
- **Usage:**
280280

281281
Force the component instance to re-render. Note it does not affect all child components, only the instance itself and child components with inserted slot content.
282282

283-
## \$nextTick
283+
## $nextTick
284284

285285
- **Arguments:**
286286

src/api/options-data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177

178178
- **Details:**
179179

180-
An object where keys are expressions to watch and values are the corresponding callbacks. The value can also be a string of a method name, or an Object that contains additional options. The component instance will call `$watch()` for each entry in the object at instantiation. See [\$watch](instance-methods.html#watch) for more information about the `deep`, `immediate` and `flush` options.
180+
An object where keys are expressions to watch and values are the corresponding callbacks. The value can also be a string of a method name, or an Object that contains additional options. The component instance will call `$watch()` for each entry in the object at instantiation. See [$watch](instance-methods.html#watch) for more information about the `deep`, `immediate` and `flush` options.
181181

182182
- **Example:**
183183

src/api/options-lifecycle-hooks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ All lifecycle hooks automatically have their `this` context bound to the instanc
4444

4545
Called after the instance has been mounted, where element, passed to `Vue.createApp({}).mount()` is replaced by the newly created `vm.$el`. If the root instance is mounted to an in-document element, `vm.$el` will also be in-document when `mounted` is called.
4646

47-
Note that `mounted` does **not** guarantee that all child components have also been mounted. If you want to wait until the entire view has been rendered, you can use [vm.\$nextTick](../api/instance-methods.html#nexttick) inside of `mounted`:
47+
Note that `mounted` does **not** guarantee that all child components have also been mounted. If you want to wait until the entire view has been rendered, you can use [vm.$nextTick](../api/instance-methods.html#nexttick) inside of `mounted`:
4848

4949
```js
5050
mounted() {
@@ -81,7 +81,7 @@ All lifecycle hooks automatically have their `this` context bound to the instanc
8181

8282
The component's DOM will have been updated when this hook is called, so you can perform DOM-dependent operations here. However, in most cases you should avoid changing state inside the hook. To react to state changes, it's usually better to use a [computed property](./options-data.html#computed) or [watcher](./options-data.html#watch) instead.
8383

84-
Note that `updated` does **not** guarantee that all child components have also been re-rendered. If you want to wait until the entire view has been re-rendered, you can use [vm.\$nextTick](../api/instance-methods.html#nexttick) inside of `updated`:
84+
Note that `updated` does **not** guarantee that all child components have also been re-rendered. If you want to wait until the entire view has been re-rendered, you can use [vm.$nextTick](../api/instance-methods.html#nexttick) inside of `updated`:
8585

8686
```js
8787
updated() {

src/guide/computed.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ Result:
196196

197197
In this case, using the `watch` option allows us to perform an asynchronous operation (accessing an API) and sets a condition for performing this operation. None of that would be possible with a computed property.
198198

199-
In addition to the `watch` option, you can also use the imperative [vm.\$watch API](../api/instance-methods.html#watch).
199+
In addition to the `watch` option, you can also use the imperative [vm.$watch API](../api/instance-methods.html#watch).
200200

201201
### Computed vs Watched Property
202202

0 commit comments

Comments
 (0)