Skip to content

Commit 415dab9

Browse files
authored
fix typos
1 parent 54715d4 commit 415dab9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

dev/docs/javascript-code.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,18 +85,18 @@ Will result with `this.$opts` being:
8585
A component has the below shown properties & methods available for use. As mentioned above, most of these should be used within the `setup()` function to make the requirements/dependencies of the component clear.
8686

8787
```javascript
88-
// The root element that the compontent has been applied to.
88+
// The root element that the component has been applied to.
8989
this.$el
9090

91-
// A map of defined element references within the compontent.
91+
// A map of defined element references within the component.
9292
// See "Element References" above.
9393
this.$refs
9494

95-
// A map of defined multi-element references within the compontent.
95+
// A map of defined multi-element references within the component.
9696
// See "Element References" above.
9797
this.$manyRefs
9898

99-
// Options defined for the compontent.
99+
// Options defined for the component.
100100
this.$opts
101101

102102
// The registered name of the component, usually kebab-case.
@@ -160,4 +160,4 @@ window.$components.firstOnElement(element, name);
160160

161161
There are a range of available events that are emitted as part of a public & supported API for accessing or extending JavaScript libraries & components used in the system.
162162

163-
Details on these events can be found in the [JavaScript Public Events file](javascript-public-events.md).
163+
Details on these events can be found in the [JavaScript Public Events file](javascript-public-events.md).

0 commit comments

Comments
 (0)