In knockoutJS, I have become accustomed to "Flow Control" bindings for the HTML binding. Such as ...
foreach : http://knockoutjs.com/documentation/foreach-binding.html
<
table
>
<
thead
>
<
tr
><
th
>First name</
th
><
th
>Last name</
th
></
tr
>
</
thead
>
<
tbody
data-bind
=
"foreach: people"
>
<
tr
>
<
td
data-bind
=
"text: firstName"
></
td
>
<
td
data-bind
=
"text: lastName"
></
td
>
</
tr
>
</
tbody
>
</
table
>
<
script
type
=
"text/javascript"
>
ko.applyBindings({
people: [
{ firstName: 'Bert', lastName: 'Bertington' },
{ firstName: 'Charles', lastName: 'Charlesforth' },
{ firstName: 'Denise', lastName: 'Dentiste' }
]
});
</
script
>
and "with" : http://knockoutjs.com/documentation/with-binding.html
<
h1
data-bind
=
"text: city"
> </
h1
>
<
p
data-bind
=
"with: coords"
>
Latitude: <
span
data-bind
=
"text: latitude"
> </
span
>,
Longitude: <
span
data-bind
=
"text: longitude"
> </
span
>
</
p
>
<
script
type
=
"text/javascript"
>
ko.applyBindings({
city: "London",
coords: {
latitude: 51.5001524,
longitude: -0.1262362
}
});
</
script
>
and if : http://knockoutjs.com/documentation/if-binding.html
<
label
><
input
type
=
"checkbox"
data-bind
=
"checked: displayMessage"
/> Display message</
label
>
<
div
data-bind
=
"if: displayMessage"
>Here is a message. Astonishing.</
div
>
and ifnot : http://knockoutjs.com/documentation/if-binding.html
<
div
data-bind
=
"ifnot: someProperty"
>...</
div
>
These have become a vital part of the way I structure views and such, and I would be very upset to lose them. I notice that no such alternatives seem to exist in Kendo UI MVVM? Is this true? Are there any plans for such in the future? This is a very big deal breaker for me.