vendredi 11 septembre 2015

Where are my ko.observable properties?

http://ift.tt/1NmkSdD

thing = {
            id: 3,
            bool: ko.observable(false),
            state: ko.observable('disabled')
        }

I'm in the middle of trying to debug something in a much larger app, and I'm trying to make a simple example of how my app is breaking, and I can't even get my basic objects properties to show up.

Where are my 2 ko.observable properites on each thing object in rows? When I try to use "row.state()" it isn't there, it doesn't exist, as you can see in the stringified "text" in the dom.

Thoughts please.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire