阅读背景:

KnockoutJS:通过自定义绑定向ViewModel添加属性

来源:互联网 

I'm adding a custom binding to my page. Within it, I'd like to save one of the objects I create as a property of the viewModel. When I do this, I get "undefined" when I try and access it outside of the binding. Why? Here is a reduced down example:I'm adding a custom binding to my page. Within




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: