Skip to content

Commit e83d0aa

Browse files
committed
update doc
1 parent 4924524 commit e83d0aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/guides/guides-extras/sipa-component.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,10 @@ The result of this example will be the following, rendered component:
129129
130130
Classes on the components tag level are managed automatically, if their attribute is used twice, they will be merged.
131131
132-
Let's access the instance of the element on the console and retrieve its data:
132+
Let's access the instance of the element on the console and retrieve a clone of its data:
133133
```javascript
134134
c = ExampleComponent.all()[0]; // get first instance of ExampleComponent
135-
console.log(c.data());
135+
console.log(c.cloneData());
136136
// => { example: "Pinky", other: 2 }
137137
```
138138

0 commit comments

Comments
 (0)