Declined
Last Updated: 20 Nov 2014 19:20 by ADMIN
Created by: Joshua
Comments: 11
Category: MVVM
Type: Feature Request
107
MVVM is still lacking some of the capability that is provided by the standard widgets. For example a tooltip cannot bind it's content property to a function in a viewmodel. 
Declined
Last Updated: 20 Nov 2014 19:22 by ADMIN
Created by: Stacey
Comments: 1
Category: MVVM
Type: Feature Request
10
It would be nice to have some additional "flow control" for the MVVM framework, including ...

"if" -

<div data-bind="if: [property]">
    // renders if the given value is true
</div>

and "not"

<div data-bind="not: enabled">
// renders if the given value is false
</div>

and "each"
<div data-bind="each: array">
// renders this section for each item in the array given
</div>

I know some of this can be achieved with templates, but this would make it very convenient and mean we did not have to use templates everywhere, and could lead to much more natural coding.
Declined
Last Updated: 20 Nov 2014 19:28 by ADMIN
Created by: Tomas
Comments: 1
Category: MVVM
Type: Feature Request
6
Current way of implementing functions in viewmodels suck because you have to use this.get and this.set to access the viewmodel properties. 
The syntax would be much prettier if you can use advantage of TypeScript strong typing.