mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
fix typos
This commit is contained in:
parent
54715d40ef
commit
415dab9936
@ -85,18 +85,18 @@ Will result with `this.$opts` being:
|
|||||||
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.
|
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.
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
// The root element that the compontent has been applied to.
|
// The root element that the component has been applied to.
|
||||||
this.$el
|
this.$el
|
||||||
|
|
||||||
// A map of defined element references within the compontent.
|
// A map of defined element references within the component.
|
||||||
// See "Element References" above.
|
// See "Element References" above.
|
||||||
this.$refs
|
this.$refs
|
||||||
|
|
||||||
// A map of defined multi-element references within the compontent.
|
// A map of defined multi-element references within the component.
|
||||||
// See "Element References" above.
|
// See "Element References" above.
|
||||||
this.$manyRefs
|
this.$manyRefs
|
||||||
|
|
||||||
// Options defined for the compontent.
|
// Options defined for the component.
|
||||||
this.$opts
|
this.$opts
|
||||||
|
|
||||||
// The registered name of the component, usually kebab-case.
|
// The registered name of the component, usually kebab-case.
|
||||||
@ -160,4 +160,4 @@ window.$components.firstOnElement(element, name);
|
|||||||
|
|
||||||
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.
|
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.
|
||||||
|
|
||||||
Details on these events can be found in the [JavaScript Public Events file](javascript-public-events.md).
|
Details on these events can be found in the [JavaScript Public Events file](javascript-public-events.md).
|
||||||
|
Loading…
Reference in New Issue
Block a user