-
FEATURED COMPONENTS
First time here? Check out the FAQ!
1 | initial version | |
this line doesn't seem right:
<grid height="550px" model="@command('vm.getPosts')" emptyMessage="Nothing in Posts.">
most likely you wanted to do this:
model="@init('vm.posts')"
2 | No.2 Revision |
this line doesn't seem right:
<grid height="550px" model="@command('vm.getPosts')" emptyMessage="Nothing in Posts.">
most likely you wanted to do this:
model="@init('vm.posts')"
model="@init(vm.posts)"
or (in case you really want trigger the load binding after a command, then don't use a getter as the command name ... that's just weird and unexpected)
model="@load(vm.posts, after='loadPosts')
Then the remaining part of you
3 | No.3 Revision |
this line doesn't seem right:
<grid height="550px" model="@command('vm.getPosts')" emptyMessage="Nothing in Posts.">
most likely you wanted to do this:
model="@init(vm.posts)"
or (in case you really want trigger the load binding after a command, then don't use a getter as the command name ... that's just weird and unexpected)
model="@load(vm.posts, after='loadPosts')
Then the remaining part of you