Skip to content

Commit 0c0bb55

Browse files
committed
#5490 Nested Inline Models: CTA
1 parent dfd6b7d commit 0c0bb55

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

resources/data/deck/learnneo/pages/GuideViewModels.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ data.component equals to the Button instance itself. Since the Button instance d
129129
`getModel()` will return the closest VM inside the parent chain.
130130

131131
## Nested Inline Models
132-
133132
<pre data-neo>
134133
import Button from '../../../../src/button/Base.mjs';
135134
import Container from '../../../../src/container/Base.mjs';
@@ -201,3 +200,5 @@ The same goes for the Button handlers: `setData()` will find the closest matchin
201200

202201
We can even change data props which live inside different VMs at once. As easy as this:</br>
203202
`setData({hello: 'foo', world: 'bar'})`
203+
204+
Hint: Modify the example code to try it out right away!

0 commit comments

Comments
 (0)