Browse Source

Fix incorrect link to storage module (#6753)

The components module contains an incorrect link to the storage module (storage instead of Storage).
release-v0.22.16
Yogesh Verma 3 weeks ago
committed by GitHub
parent
commit
c00650861f
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      docs/modules/Components.md

2
docs/modules/Components.md

@ -148,7 +148,7 @@ JSON.stringify(component);
``` ```
::: tip ::: tip
For storing/loading all the components you should rely on the [Storage Manager](/modules/storage.html) For storing/loading all the components you should rely on the [Storage Manager](/modules/Storage.html)
::: :::
So, the **Component instance** is responsible for the **final data** (eg. HTML, JSON) of your templates. If you need, for example, to update/add some attribute in the HTML you need to update its component (eg. `component.addAttributes({ title: 'Title added' })`), so the Component/Model is your **Source of Truth**. So, the **Component instance** is responsible for the **final data** (eg. HTML, JSON) of your templates. If you need, for example, to update/add some attribute in the HTML you need to update its component (eg. `component.addAttributes({ title: 'Title added' })`), so the Component/Model is your **Source of Truth**.

Loading…
Cancel
Save