We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4924524 commit e83d0aaCopy full SHA for e83d0aa
docs/guides/guides-extras/sipa-component.md
@@ -129,10 +129,10 @@ The result of this example will be the following, rendered component:
129
130
Classes on the components tag level are managed automatically, if their attribute is used twice, they will be merged.
131
132
-Let's access the instance of the element on the console and retrieve its data:
+Let's access the instance of the element on the console and retrieve a clone of its data:
133
```javascript
134
c = ExampleComponent.all()[0]; // get first instance of ExampleComponent
135
-console.log(c.data());
+console.log(c.cloneData());
136
// => { example: "Pinky", other: 2 }
137
```
138
0 commit comments